From 1aea3f6e3e8689f0850beebcc28962d752ae8210 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 25 Nov 2016 09:04:00 -0700 Subject: [PATCH] Just use malloc_options "S" on OpenBSD instead of "AFGJPR". --- plugins/sudoers/sudoreplay.c | 2 +- plugins/sudoers/testsudoers.c | 2 +- plugins/sudoers/visudo.c | 2 +- src/openbsd.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/sudoers/sudoreplay.c b/plugins/sudoers/sudoreplay.c index b2e856bcb..d82f0f91e 100644 --- a/plugins/sudoers/sudoreplay.c +++ b/plugins/sudoers/sudoreplay.c @@ -194,7 +194,7 @@ main(int argc, char *argv[]) #if defined(SUDO_DEVEL) && defined(__OpenBSD__) { extern char *malloc_options; - malloc_options = "AFGJPR"; + malloc_options = "S"; } #endif diff --git a/plugins/sudoers/testsudoers.c b/plugins/sudoers/testsudoers.c index 30e092320..67e495905 100644 --- a/plugins/sudoers/testsudoers.c +++ b/plugins/sudoers/testsudoers.c @@ -118,7 +118,7 @@ main(int argc, char *argv[]) debug_decl(main, SUDOERS_DEBUG_MAIN) #if defined(SUDO_DEVEL) && defined(__OpenBSD__) - malloc_options = "AFGJPR"; + malloc_options = "S"; #endif #if YYDEBUG sudoersdebug = 1; diff --git a/plugins/sudoers/visudo.c b/plugins/sudoers/visudo.c index a6d429bbd..b2ee89486 100644 --- a/plugins/sudoers/visudo.c +++ b/plugins/sudoers/visudo.c @@ -143,7 +143,7 @@ main(int argc, char *argv[]) #if defined(SUDO_DEVEL) && defined(__OpenBSD__) { extern char *malloc_options; - malloc_options = "AFGJPR"; + malloc_options = "S"; } #endif diff --git a/src/openbsd.c b/src/openbsd.c index 97213fca4..f791c9c5e 100644 --- a/src/openbsd.c +++ b/src/openbsd.c @@ -34,7 +34,7 @@ os_init(int argc, char *argv[], char *envp[]) { #ifdef SUDO_DEVEL extern char *malloc_options; - malloc_options = "AFGJPR"; + malloc_options = "S"; #endif return os_init_common(argc, argv, envp); } -- 2.40.0