summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-11-02 22:54:10 +0100
committerJay Berkenbilt <ejb@ql.org>2021-11-03 14:43:17 +0100
commit532a4f3d60f6981b22beb32e6ff688ec41f87e26 (patch)
tree73800f3a6da80171152df8c9236ce390bcd581f4 /ChangeLog
parentc491d9f6af8dd2ecfbc5bd70b2054e03ac2521ac (diff)
downloadqpdf-532a4f3d60f6981b22beb32e6ff688ec41f87e26.tar.zst
Detect recoverable but invalid zlib data streams (fixes #562)
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fdef04ac..c64f18ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.