]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
signal/stack: Default stack-on-signal setting: off 7324/head
authorJeff Lucovsky <jeff@lucovsky.org>
Tue, 26 Apr 2022 18:47:06 +0000 (14:47 -0400)
committerVictor Julien <vjulien@oisf.net>
Wed, 27 Apr 2022 09:23:04 +0000 (11:23 +0200)
Ticket: 5228

This commit changes the default value of the stack-on-signal feature to
be disabled.

src/suricata.c

index efdd2cc2981059f27c582bab19e3b9ac987fc5e7..340b7b8b1826d16b89e518661b813a35d157acc3 100644 (file)
@@ -2050,7 +2050,7 @@ static int InitSignalHandler(SCInstance *suri)
 #if HAVE_LIBUNWIND
     int enabled;
     if (ConfGetBool("logging.stacktrace-on-signal", &enabled) == 0) {
-        enabled = 1;
+        enabled = 0;
     }
 
     if (enabled) {