From 995359548bb8bf7c62716c74868a44ef625e70bb Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Fri, 17 Aug 2007 09:53:47 +0000 Subject: [PATCH] more consistent parsing checks --- servers/slapd/overlays/dds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.5