From 4ed783719544b6fb71ab0d9ed1540f0b7687c860 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" <Todd.Miller@courtesan.com> Date: Wed, 19 Nov 2008 12:37:05 +0000 Subject: [PATCH] malloc options in devel mode for visudo too --- visudo.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/visudo.c b/visudo.c index e211d4565..cd468c168 100644 --- a/visudo.c +++ b/visudo.c @@ -150,6 +150,10 @@ main(argc, argv) struct sudoersfile *sp; char *args, *editor, *sudoers_path; int ch, checkonly, quiet, strict, oldperms; +#if defined(SUDO_DEVEL) && defined(__OpenBSD__) + extern char *malloc_options; + malloc_options = "AFGJPR"; +#endif Argv = argv; if ((Argc = argc) < 1) -- 2.40.0