mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix ITS#2280, reject sequences with invalid lengths
This commit is contained in:
parent
bd9bf709aa
commit
caeb6fc1f0
1 changed files with 1 additions and 1 deletions
|
|
@ -598,7 +598,7 @@ ber_next_element(
|
|||
|
||||
assert( LBER_VALID( ber ) );
|
||||
|
||||
if ( ber->ber_ptr == last ) {
|
||||
if ( ber->ber_ptr >= last ) {
|
||||
return LBER_DEFAULT;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue