mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
more consistent parsing checks
This commit is contained in:
parent
ce6b685caf
commit
995359548b
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user