2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +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();
} 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);