mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
more consistent parsing checks
This commit is contained in:
parent
ce6b685caf
commit
995359548b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue