aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/alloca/needstack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/alloca/needstack.c b/src/alloca/needstack.c
index 149914c..094b3ad 100644
--- a/src/alloca/needstack.c
+++ b/src/alloca/needstack.c
@@ -58,6 +58,8 @@ int stack_will_overflow(intptr_t n)
return 1;
old_sigsegv_handler = signal(SIGSEGV, SIG_DFL);
+ /* Sorry, we cannot have a signal handler, the OS kernel
+ * will make the CPU halt and catch fire until we die. */
if (old_sigsegv_handler == SIG_ERR)
return 1;