]> git.sur5r.net Git - openldap/commitdiff
work around paranoid check (ITS#5412)
authorPierangelo Masarati <ando@openldap.org>
Sat, 22 Mar 2008 16:01:23 +0000 (16:01 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 22 Mar 2008 16:01:23 +0000 (16:01 +0000)
servers/slapd/slapadd.c

index 9369d7c6908dde521cb934cf9494ae6b8af47ee6..468dcea6716c6f1d14b8660bc6c4e2cbebc88abf 100644 (file)
@@ -203,6 +203,7 @@ slapadd( int argc, char **argv )
                                        if( continuemode ) continue;
                                        break;
                                }
+                               textbuf[ 0 ] = '\0';
                        }
                }