From 9c9645598eac73bf044fe8be6a8c7458612a2b16 Mon Sep 17 00:00:00 2001 From: treeform Date: Sat, 7 May 2022 11:24:54 -0700 Subject: [PATCH] Fuzzing. --- src/pixie/fileformats/jpeg.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pixie/fileformats/jpeg.nim b/src/pixie/fileformats/jpeg.nim index 9651439..5610239 100644 --- a/src/pixie/fileformats/jpeg.nim +++ b/src/pixie/fileformats/jpeg.nim @@ -489,7 +489,7 @@ proc getBitsAsUnsignedInt(state: var DecoderState, n: int): int = state.bitCount -= n return k.int -{.push overflowChecks: off.} +{.push overflowChecks: off, rangeChecks: off.} proc decodeRegularBlock( state: var DecoderState, component: int, data: var array[64, int16]