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:
2
ldap.c
2
ldap.c
@@ -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);
|
||||||
|
Reference in New Issue
Block a user