aboutsummaryrefslogtreecommitdiff
path: root/debug/tst-longjmp_chk.c
AgeCommit message (Collapse)AuthorFilesLines
2014-02-08tests: unify fortification handler logicMike Frysinger1-20/+7
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 Frysinger1-2/+7
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-15Check for valid stack frame in longjmp.Ulrich Drepper1-0/+86
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.