mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
Just use malloc_options "S" on OpenBSD instead of "AFGJPR".
This commit is contained in:
parent
4d06a612f7
commit
1aea3f6e3e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user