Select Git revision
gccollect.h
Josef Gajdusek
authored and
Damien George
committed
As user_init() is not a true main functions, the stack pointer captured within is not pointing at the base of the stack. This caused gc_collect being called with sp being higher than stack_end, causing integer overflow and crashing as gc tried to scan almost the entire address space.
gccollect.h 1.56 KiB