From: Pierangelo Masarati Date: Fri, 17 Aug 2007 09:53:47 +0000 (+0000) Subject: more consistent parsing checks X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~189 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=995359548bb8bf7c62716c74868a44ef625e70bb;p=openldap more consistent parsing checks --- diff --git a/servers/slapd/overlays/dds.c b/servers/slapd/overlays/dds.c index aee748674b..278658eb58 100644 --- a/servers/slapd/overlays/dds.c +++ b/servers/slapd/overlays/dds.c @@ -948,7 +948,7 @@ slap_parse_refresh( tag = ber_peek_tag( ber, &len ); - if ( len != 0 ) { + if ( tag != LBER_DEFAULT || len != 0 ) { decoding_error:; Log1( LDAP_DEBUG_TRACE, LDAP_LEVEL_ERR, "slap_parse_refresh: decoding error, len=%ld\n",