Blob Blame History Raw
--- src/cysignals/implementation.c.orig	2021-05-27 14:03:35.653774857 -0600
+++ src/cysignals/implementation.c	2021-05-27 14:19:42.225312505 -0600
@@ -445,7 +445,8 @@ static void setup_alt_stack(void)
     /* Static space for the alternate signal stack. The size should be
      * of the form MINSIGSTKSZ + constant. The constant is chosen rather
      * ad hoc but sufficiently large. */
-    static char alt_stack[MINSIGSTKSZ + 5120 + BACKTRACELEN * sizeof(void*)];
+    /* MINSIGSTKSIZE is now nonconstant. */
+    static char alt_stack[4096 + 5120 + BACKTRACELEN * sizeof(void*)];
 
     stack_t ss;
     ss.ss_sp = alt_stack;