[gccsdk] [PATCH] Fix stack frame corruption

Lee Noar leenoar at sky.com
Fri Aug 14 11:36:30 PDT 2015


On 14/08/15 17:34, John-Mark Bell wrote:
> All,
>
> The NetSurf team have recently discovered an interaction
> between stack checking and non-leaf functions which do
> not return. In our specific case, the function which does
> not return actually calls longjmp, and the result is a
> branch through zero later on in program execution.

[snip]

Thanks for that and especially for finding the cause and
solution :-)
I'll commit it for you and hopefully it'll end up in the
upcoming release.

Lee.





More information about the gcc mailing list