The fault occurs as the 'pass' value given to longjmp() gets corrupted
before use by setjmp(), causing the 'setjmp() < 2' test to fail and the
system to loop forever.  The only assembler level fortify/non-fortify
difference is a call to longjmp_chk instead of longjmp.

Note that shifting 'mystack' off the stack and into static memory also
works around the problem.

(Tested using gcc 4.4.4-9ubuntu1)

-- 
broken configuration test with fortify source 
https://bugs.launchpad.net/bugs/601030
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to