]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the setjmp/longjmp stuff completely. Use signal
authoryar <yar@FreeBSD.org>
Mon, 28 Jan 2002 19:28:14 +0000 (19:28 +0000)
committeryar <yar@FreeBSD.org>
Mon, 28 Jan 2002 19:28:14 +0000 (19:28 +0000)
commitdc82fedb5a0b52746bb2b4a6d1fef7b198f963af
treecc70648d56369afdd2a65f52ef411514cf29abda
parent494635a1dd3758290dafdc988884148b0a5894ea
Remove the setjmp/longjmp stuff completely.  Use signal
handlers to set flags only (with exception for sigquit(),
which still seems to call some non-reentrant functions on
its way to _exit(2).)  That must eliminate the possibility
of catching SIGSEGV from following non-reentrant paths from
signal handlers.

PR: bin/32740 bin/33846
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Obtained from: OpenBSD
libexec/ftpd/ftpcmd.y
libexec/ftpd/ftpd.c