summaryrefslogtreecommitdiff
path: root/debug/tst-longjmp_chk.c
AgeCommit message (Collapse)Author
2014-02-08tests: unify fortification handler logicMike Frysinger
We have multiple tests that copy & paste the same logic for disabling the fortification output. Let's unify this in the test-skeleton instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08tst-longjmp_chk: add comments and convert to test-skeletonMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-15Check for valid stack frame in longjmp.Ulrich Drepper
If longjmp restores the stack frame to an address which is beyond the stack frame at the time of the longjmp call it would install an uninitialized stack frame. If compiled with _FORTIFY_SOURCE defined, longjmp will now bail out in this situation.