Commit 297c82b1 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

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

parent cb7a367e
OpenLDAP 2.3 Change Log
OpenLDAP 2.3.35 Engineering
Fixed entry consistency check in str2entry2 (ITS#4852)
Fixed slapd-bdb/hdb startup with missing shm env (ITS#4851)
OpenLDAP 2.3.34 Release (2007/02/16)
......
......@@ -132,6 +132,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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment