diff options
author | jilles <jilles@FreeBSD.org> | 2010-12-29 19:39:51 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-12-29 19:39:51 +0000 |
commit | 584bccb74d788b3fd416e36c489ca3f6499a17b1 (patch) | |
tree | 93e2d7c41af242babeaa67308c0feb83a7029db4 /sys/compat/linux/linux_signal.c | |
parent | ff557d3a614f902f360826bd8074e40e3dc3385e (diff) | |
download | FreeBSD-src-584bccb74d788b3fd416e36c489ca3f6499a17b1.zip FreeBSD-src-584bccb74d788b3fd416e36c489ca3f6499a17b1.tar.gz |
sh: Properly restore exception handler in fc.
If SIGINT arrived at exactly the right moment (unlikely), an exception
handler in a no longer active stack frame would be called.
Because the old handler was not used in the normal path, clang thought it
was a dead value and if an exception happened it would longjmp() to garbage.
This caused builtins/fc1.0 to fail if histedit.c was compiled with clang.
MFC after: 1 week
Diffstat (limited to 'sys/compat/linux/linux_signal.c')
0 files changed, 0 insertions, 0 deletions