From 28be8691cc5f737097007d9dc7a33e16752b516c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 9 Aug 2005 00:11:42 +0000 Subject: [PATCH] ITS#3922 plug another cookie parsing leak --- servers/slapd/overlays/syncprov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 801db55163..8dcd598278 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -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; } -- 2.39.5