]> granicus.if.org Git - sudo/commitdiff
estrdup, not strdup
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 Apr 2005 03:18:38 +0000 (03:18 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 11 Apr 2005 03:18:38 +0000 (03:18 +0000)
ldap.c

diff --git a/ldap.c b/ldap.c
index e4402411b7dbc32f0347ccb67618a4805c037b3c..4116a63df9dc052b29db65cef33b8cac207658e9 100644 (file)
--- 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);