Spydr06/CSpydr

Assigning and returning arrays results in stack corruption

Spydr06 opened this issue · 3 comments

This code segfaults:

bar([1, 2, 3] |> $[0] + $[1]);

This doesn't:

foo();
bar([1, 2, 3] |> $[0] + $[1]);

Fixed, issue was in validator.c where local variables would not be assigned the correct array sizes

Issue still occurring when doing this with arrays bigger than 128 bytes

Fixed with the new array implementation