Assigning and returning arrays results in stack corruption
Spydr06 opened this issue · 3 comments
Spydr06 commented
This code segfaults:
bar([1, 2, 3] |> $[0] + $[1]);
This doesn't:
foo();
bar([1, 2, 3] |> $[0] + $[1]);
Spydr06 commented
Fixed, issue was in validator.c
where local variables would not be assigned the correct array sizes
Spydr06 commented
Issue still occurring when doing this with arrays bigger than 128 bytes
Spydr06 commented
Fixed with the new array implementation