Fix ITS#2280, reject sequences with invalid lengths

This commit is contained in:
Howard Chu 2003-01-23 02:19:59 +00:00
parent bd9bf709aa
commit caeb6fc1f0

View file

@ -598,7 +598,7 @@ ber_next_element(
assert( LBER_VALID( ber ) );
if ( ber->ber_ptr == last ) {
if ( ber->ber_ptr >= last ) {
return LBER_DEFAULT;
}