1 When popping an element off an array, especially the last one, the popped 2 value might have been freed before the refcount was increased later on 3 function return. 4 5 -- Expect stdout -- 6 1 7 -- End -- 8 9 -- Testcase -- 10 {% 11 x = [1]; 12 print(pop(x), "\n"); // This caused a SIGABRT before the bugfix 13 %} 14 -- End --
This page was automatically generated by LXR 0.3.1. • OpenWrt