mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +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…
x
Reference in New Issue
Block a user