We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ea7cda commit 23f40d9Copy full SHA for 23f40d9
ion/src/main/java/com/fasterxml/jackson/dataformat/ion/IonParser.java
@@ -509,7 +509,12 @@ public Object getEmbeddedObject() throws IOException {
509
}
510
case BLOB:
511
case CLOB:
512
- return _reader.newBytes();
+ try {
513
+ return _reader.newBytes();
514
+ } catch (NullPointerException e) {
515
+ // 02-Jan-2024, tatu: OSS-Fuzz#65479 points to NPE ^^^
516
+ return _reportCorruptContent(e);
517
+ }
518
// What about CLOB?
519
default:
520
0 commit comments