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

parsing bug (does not affect RE22)

parent 3c1c61c5
No related branches found
No related tags found
No related merge requests found
......@@ -237,12 +237,12 @@ static int slap_parseURI( Operation *op, struct berval *uri,
} else {
return LDAP_PROTOCOL_ERROR;
}
}
if ( bv.bv_val[ 0 ] != ':' ) {
return LDAP_PROTOCOL_ERROR;
} else {
if ( bv.bv_val[ 0 ] != ':' )
return LDAP_PROTOCOL_ERROR;
bv.bv_val++;
}
bv.bv_val++;
bv.bv_val += strspn( bv.bv_val, " " );
/* jump here in case no type specification was present
......
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