]> git.sur5r.net Git - openldap/commitdiff
Fix uninitialized variable in ldapmodify.
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 20 Nov 2011 12:52:07 +0000 (13:52 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 20 Nov 2011 12:52:07 +0000 (13:52 +0100)
Introduced by 3a46af398cf69b0e84147e2421e555f5c5c83856.

clients/tools/ldapmodify.c

index 70d231926590d350e43cc5aa09fa4250c44a2214..2f0edf9239fe801a3431b75c65ae518ba0ba0156 100644 (file)
@@ -216,7 +216,7 @@ main( int argc, char **argv )
 {
        char            *rbuf = NULL, *rejbuf = NULL;
        FILE            *rejfp;
-       struct LDIFFP *ldiffp, ldifdummy = {0};
+       struct LDIFFP *ldiffp = NULL, ldifdummy = {0};
        char            *matched_msg, *error_msg;
        int             rc, retval, ldifrc;
        int             len;