mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 15:11:10 +01:00
6c951b3717
setjmp() requires that any stack variables modified between the setjmp call and the longjmp() must be volatile. This means that 'saveint' in grabh() must be volatile, since it's modified after the setjmp(). Otherwise, the signal handler is not properly restored, resulting in a crash (SIGBUS) if ^C is typed twice while composing. PR: 276119 Reported by: Christopher Davidson <christopher.davidson@gmail.com> MFC after: 2 weeks Pull Request: https://github.com/freebsd/freebsd-src/pull/993 |
||
---|---|---|
.. | ||
misc | ||
cmd1.c | ||
cmd2.c | ||
cmd3.c | ||
cmdtab.c | ||
collect.c | ||
def.h | ||
edit.c | ||
extern.h | ||
fio.c | ||
getname.c | ||
glob.h | ||
head.c | ||
lex.c | ||
list.c | ||
mail.1 | ||
main.c | ||
Makefile | ||
Makefile.depend | ||
names.c | ||
pathnames.h | ||
popen.c | ||
quit.c | ||
rcv.h | ||
send.c | ||
strings.c | ||
temp.c | ||
tty.c | ||
util.c | ||
v7.local.c | ||
vars.c | ||
version.c |