From caeb6fc1f01fe5f28fb32d96aa2150d6a717c475 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 23 Jan 2003 02:19:59 +0000 Subject: [PATCH] Fix ITS#2280, reject sequences with invalid lengths --- libraries/liblber/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5