]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 22 Nov 2011 01:13:37 +0000 (17:13 -0800)
Introduced by 3a46af398cf69b0e84147e2421e555f5c5c83856.

clients/tools/ldapmodify.c

index 88143434bc5820ba00fc74efe57998e06c300245..c2d9ca3895d4faa34aaa552f452607f14021ff5b 100644 (file)
@@ -241,7 +241,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;