mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-31 17:30: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.
11 lines
781 B
Plaintext
11 lines
781 B
Plaintext
WARNING: bad16.pdf (trailer, file position 753): unexpected dictionary close token
|
|
WARNING: bad16.pdf (trailer, file position 756): unexpected dictionary close token
|
|
WARNING: bad16.pdf (trailer, file position 759): unknown token while reading object; treating as string
|
|
WARNING: bad16.pdf: file is damaged
|
|
WARNING: bad16.pdf (trailer, file position 773): EOF while reading token
|
|
WARNING: bad16.pdf: Attempting to reconstruct cross-reference table
|
|
WARNING: bad16.pdf (trailer, file position 753): unexpected dictionary close token
|
|
WARNING: bad16.pdf (trailer, file position 756): unexpected dictionary close token
|
|
WARNING: bad16.pdf (trailer, file position 759): unknown token while reading object; treating as string
|
|
bad16.pdf (trailer, file position 773): EOF while reading token
|