mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
ITS#3922 plug another cookie parsing leak
This commit is contained in:
parent
0b2a428a29
commit
28be8691cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue