]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove the setjmp/longjmp stuff completely. Use signal
authorYaroslav Tykhiy <ytykhiy@gmail.com>
Mon, 28 Jan 2002 19:28:14 +0000 (19:28 +0000)
committerYaroslav Tykhiy <ytykhiy@gmail.com>
Mon, 28 Jan 2002 19:28:14 +0000 (19:28 +0000)
commit4b82fc955f15e8f0aeeecab222072b8c1898f422
treecc70648d56369afdd2a65f52ef411514cf29abda
parent5cc5c73a0337b05bae63bd8416f107a910c4294e
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