mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-31 09:20:52 +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.
5 lines
334 B
Plaintext
5 lines
334 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
|
|
bad16.pdf (trailer, file position 773): EOF while reading token
|