diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-11-02 22:54:10 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-11-03 14:43:17 +0100 |
commit | 532a4f3d60f6981b22beb32e6ff688ec41f87e26 (patch) | |
tree | 73800f3a6da80171152df8c9236ce390bcd581f4 /ChangeLog | |
parent | c491d9f6af8dd2ecfbc5bd70b2054e03ac2521ac (diff) | |
download | qpdf-532a4f3d60f6981b22beb32e6ff688ec41f87e26.tar.zst |
Detect recoverable but invalid zlib data streams (fixes #562)
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,5 +1,18 @@ 2021-11-02 Jay Berkenbilt <ejb@ql.org> + * zlib-flate: warn and exit with code 3 when there is corrupted + input data even when decompression is possible. We do this in the + zlib-flate CLI so that it can be more reliably used to test the + validity of zlib streams, but we don't warn by default in qpdf + itself because PDF files in the wild exist with this problem and + other readers appear to tolerate it. There is a PDF in the qpdf + test suite (form-filled-by-acrobat.pdf) that was written by a + version of Adobe Acrobat that exhibits this problem. Fixes #562. + + * Add Pl_Flate::setWarnCallback to make it possible to be notified + of data errors that are recoverable but still indicate invalid + data. + * Improve error reporting when someone forgets the -- after --pages. Fixes #555. |