From: Todd C. Miller Date: Mon, 11 Apr 2005 03:18:38 +0000 (+0000) Subject: estrdup, not strdup X-Git-Tag: SUDO_1_7_0~656 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f1d67a9b340da358edda110e4d4d6931aea80376;p=sudo estrdup, not strdup --- 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);