diff options
Diffstat (limited to '')
-rw-r--r-- | decompress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decompress.c b/decompress.c index ab6a624..f3db91d 100644 --- a/decompress.c +++ b/decompress.c | |||
@@ -287,7 +287,7 @@ Int32 BZ2_decompress ( DState* s ) | |||
287 | GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); | 287 | GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); |
288 | if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); | 288 | if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); |
289 | GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); | 289 | GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); |
290 | if (nSelectors < 1) RETURN(BZ_DATA_ERROR); | 290 | if (nSelectors < 1 || nSelectors > BZ_MAX_SELECTORS) RETURN(BZ_DATA_ERROR); |
291 | for (i = 0; i < nSelectors; i++) { | 291 | for (i = 0; i < nSelectors; i++) { |
292 | j = 0; | 292 | j = 0; |
293 | while (True) { | 293 | while (True) { |