From f1d67a9b340da358edda110e4d4d6931aea80376 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 11 Apr 2005 03:18:38 +0000 Subject: [PATCH] estrdup, not strdup --- ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldap.c b/ldap.c index e4402411b..4116a63df 100644 --- a/ldap.c +++ b/ldap.c @@ -894,7 +894,7 @@ sudo_ldap_check(v, pwflag) filt = sudo_ldap_build_pass1(); } else { /* pass=2 */ /* Want the entries that have user netgroups in them. */ - filt = strdup("sudoUser=+*"); + filt = estrdup("sudoUser=+*"); } if (ldap_conf.debug) printf("ldap search '%s'\n", filt); -- 2.40.0