mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-29 00:10:54 +00:00
40f00122b8
QPDFObjectHandle::parseInternal now issues warnings instead of throwing exceptions for all error conditions that it finds (except internal logic errors) and has stronger recovery for things like invalid tokens and malformed dictionaries. This should improve qpdf's ability to recover from a wide range of broken files that currently cause it to fail.
14 lines
1.1 KiB
Plaintext
14 lines
1.1 KiB
Plaintext
WARNING: issue-100.pdf: file is damaged
|
|
WARNING: issue-100.pdf (file position 736): xref not found
|
|
WARNING: issue-100.pdf: Attempting to reconstruct cross-reference table
|
|
WARNING: issue-100.pdf (file position 268): unknown token while reading object; treating as string
|
|
WARNING: issue-100.pdf (file position 286): unknown token while reading object; treating as string
|
|
WARNING: issue-100.pdf (file position 289): unknown token while reading object; treating as string
|
|
WARNING: issue-100.pdf (file position 294): unknown token while reading object; treating as string
|
|
WARNING: issue-100.pdf (file position 297): unknown token while reading object; treating as string
|
|
WARNING: issue-100.pdf (file position 304): unknown token while reading object; treating as string
|
|
WARNING: issue-100.pdf (object 5 0, file position 489): attempting to recover stream length
|
|
WARNING: issue-100.pdf (trailer, file position 953): expected dictionary key but found non-name object; inserting key /QPDFFake1
|
|
WARNING: issue-100.pdf (trailer, file position 953): dictionary ended prematurely; using null as value for last key
|
|
operation for Dictionary object attempted on object of wrong type
|