import patch from David Lichteblau and make scan_ldapsearchrequest work

again with the fixed code ;)
This commit is contained in:
leitner
2002-01-28 02:34:21 +00:00
parent 086e8790db
commit e0a5cf85ee
17 changed files with 31 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ int scan_ldapsearchrequest(const char* src,const char* max,
if (!(tmp=scan_ldapsearchfilter(src+res,max,&s->filter))) goto error;
res+=tmp;
/* now for the attributelist */
if (!(tmp=scan_asn1SEQUENCE(src+res,max,&etmp))) goto error;
if (!(tmp=scan_asn1SET(src+res,max,&etmp))) goto error;
res+=tmp;
{
const char* nmax=src+res+etmp;