Just use malloc_options "S" on OpenBSD instead of "AFGJPR".
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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
|
||||
|
||||
|
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user