nielsAD / lape

Scripting engine with Pascal-like syntax for FPC and Delphi
112 stars 26 forks source link

Fix #147 #166

Closed ollydev closed 2 years ago

ollydev commented 2 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.