File tree 1 file changed +4
-2
lines changed
ion/src/main/java/com/fasterxml/jackson/dataformat/ion
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,8 @@ public BigInteger getBigIntegerValue() throws IOException {
331
331
_verifyIsNumberToken ();
332
332
try {
333
333
return _reader .bigIntegerValue ();
334
- } catch (IonException e ) {
334
+ } catch (IonException | ArrayIndexOutOfBoundsException e ) {
335
+ // 01-Jan-2024, tatu: OSS-Fuzz#65062 points to AIOOBE ^^^
335
336
return _reportCorruptNumber (e );
336
337
}
337
338
}
@@ -342,7 +343,8 @@ public BigDecimal getDecimalValue() throws IOException {
342
343
_verifyIsNumberToken ();
343
344
try {
344
345
return _reader .bigDecimalValue ();
345
- } catch (IonException e ) {
346
+ } catch (IonException | ArrayIndexOutOfBoundsException e ) {
347
+ // 01-Jan-2024, tatu: OSS-Fuzz#65062 points to AIOOBE ^^^
346
348
return _reportCorruptNumber (e );
347
349
}
348
350
}
You can’t perform that action at this time.
0 commit comments