mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#3922 plug another cookie parsing leak
This commit is contained in:
parent
0b2a428a29
commit
28be8691cc
@ -2346,7 +2346,7 @@ static int syncprov_parseCtrl (
|
||||
tag = ber_peek_tag( ber, &len );
|
||||
|
||||
if ( tag == LDAP_TAG_SYNC_COOKIE ) {
|
||||
if (( ber_scanf( ber, /*{*/ "o", &cookie )) == LBER_ERROR ) {
|
||||
if (( ber_scanf( ber, /*{*/ "m", &cookie )) == LBER_ERROR ) {
|
||||
rs->sr_text = "Sync control : cookie decoding error";
|
||||
return LDAP_PROTOCOL_ERROR;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user