nielsAD / lape

Scripting engine with Pascal-like syntax for FPC and Delphi
119 stars 28 forks source link

Fix #147 #166

Closed ollydev closed 3 years ago

ollydev commented 3 years ago

If dynamic array is on the stack a new uninitialized var is created. This was then SetLength(arr, 0) on what is likely random memory.