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__)
|
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
||||||
{
|
{
|
||||||
extern char *malloc_options;
|
extern char *malloc_options;
|
||||||
malloc_options = "AFGJPR";
|
malloc_options = "S";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -118,7 +118,7 @@ main(int argc, char *argv[])
|
|||||||
debug_decl(main, SUDOERS_DEBUG_MAIN)
|
debug_decl(main, SUDOERS_DEBUG_MAIN)
|
||||||
|
|
||||||
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
||||||
malloc_options = "AFGJPR";
|
malloc_options = "S";
|
||||||
#endif
|
#endif
|
||||||
#if YYDEBUG
|
#if YYDEBUG
|
||||||
sudoersdebug = 1;
|
sudoersdebug = 1;
|
||||||
|
@@ -143,7 +143,7 @@ main(int argc, char *argv[])
|
|||||||
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
#if defined(SUDO_DEVEL) && defined(__OpenBSD__)
|
||||||
{
|
{
|
||||||
extern char *malloc_options;
|
extern char *malloc_options;
|
||||||
malloc_options = "AFGJPR";
|
malloc_options = "S";
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -34,7 +34,7 @@ os_init(int argc, char *argv[], char *envp[])
|
|||||||
{
|
{
|
||||||
#ifdef SUDO_DEVEL
|
#ifdef SUDO_DEVEL
|
||||||
extern char *malloc_options;
|
extern char *malloc_options;
|
||||||
malloc_options = "AFGJPR";
|
malloc_options = "S";
|
||||||
#endif
|
#endif
|
||||||
return os_init_common(argc, argv, envp);
|
return os_init_common(argc, argv, envp);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user