From: Howard Chu Date: Thu, 23 Jan 2003 02:19:59 +0000 (+0000) Subject: Fix ITS#2280, reject sequences with invalid lengths X-Git-Tag: NO_SLAP_OP_BLOCKS~532 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=caeb6fc1f01fe5f28fb32d96aa2150d6a717c475;p=openldap Fix ITS#2280, reject sequences with invalid lengths --- diff --git a/libraries/liblber/decode.c b/libraries/liblber/decode.c index 91c4a82d9b..fe4bbd0c1c 100644 --- a/libraries/liblber/decode.c +++ b/libraries/liblber/decode.c @@ -598,7 +598,7 @@ ber_next_element( assert( LBER_VALID( ber ) ); - if ( ber->ber_ptr == last ) { + if ( ber->ber_ptr >= last ) { return LBER_DEFAULT; }