Skip to content
Snippets Groups Projects
Commit 2271fb46 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

detect braindead entries (e.g. from back-perl, ITS#4845,ITS#4852)

parent 4ae77ae2
No related branches found
No related tags found
No related merge requests found
......@@ -166,6 +166,11 @@ str2entry2( char *s, int checkvals )
break;
}
i++;
if (i >= lines) {
Debug( LDAP_DEBUG_TRACE,
"<= str2entry ran past end of entry\n", 0, 0, 0 );
goto fail;
}
rc = ldif_parse_line2( s, type+i, vals+i, &freev );
freeval[i] = freev;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment