]> granicus.if.org Git - sudo/commitdiff
Just use malloc_options "S" on OpenBSD instead of "AFGJPR".
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 25 Nov 2016 16:04:00 +0000 (09:04 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 25 Nov 2016 16:04:00 +0000 (09:04 -0700)
plugins/sudoers/sudoreplay.c
plugins/sudoers/testsudoers.c
plugins/sudoers/visudo.c
src/openbsd.c

index b2e856bcb5fa35ad82e4259a4db695c708dfe250..d82f0f91ebb01dbb35ed792c9a1ecf68841a13ee 100644 (file)
@@ -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
 
index 30e09232024891e3e4fecc105c66f8c1286eca4e..67e4959053682f1d844a8ce98f54228807464791 100644 (file)
@@ -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;
index a6d429bbde938fdb461ae574b3b502a026703ebb..b2ee8948673929fc5ba82ad2ebea5bc0d8a96687 100644 (file)
@@ -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
 
index 97213fca4d67375ae75326cceca9964723ca73d0..f791c9c5e90b94480fda0a5625346ec75725b350 100644 (file)
@@ -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);
 }