2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-01 14:55:12 +00:00

estrdup, not strdup

This commit is contained in:
Todd C. Miller
2005-04-11 03:18:38 +00:00
parent d0df82a93a
commit f1d67a9b34

2
ldap.c
View File

@@ -894,7 +894,7 @@ sudo_ldap_check(v, pwflag)
filt = sudo_ldap_build_pass1(); filt = sudo_ldap_build_pass1();
} else { /* pass=2 */ } else { /* pass=2 */
/* Want the entries that have user netgroups in them. */ /* Want the entries that have user netgroups in them. */
filt = strdup("sudoUser=+*"); filt = estrdup("sudoUser=+*");
} }
if (ldap_conf.debug) if (ldap_conf.debug)
printf("ldap search '%s'\n", filt); printf("ldap search '%s'\n", filt);