jhove
jhove copied to clipboard
False positive PDF-HUL-110 "Invalid object number or object stream" when Dictionary contains /Extend ?
Unfortunately I cannot share the problematic file, but JHOVE throws an error PDF-HUL-110 "Invalid object number or object stream" on a stream object whose dictionary looks standard conformant. All stream-objects within the PDF can be uncompressed via qpdf --stream-data=uncompress, I therefore do not suspect an error within the object stream itself.
Looking at the object that the offset is reported for, it contains an /Extend entry:
<</Extends 34 0 R/Filter/FlateDecode/First 281/Length 1948/N 32/Type/ObjStm>>stream
That's not a problem and obj 34 is a stream object itself that looks valid. I have the suspicion that the /Extend entry causes a false positive for this error.