aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2018-02-16 23:25:27 +0100
committerJay Berkenbilt <ejb@ql.org>2018-02-19 03:06:27 +0100
commitd0e99f195a987c483bbb6c5449cf39bee34e08a1 (patch)
treecead8acd60cd14fd5d904ed380c750540cb361f3 /ChangeLog
parentc2e16827b69f3d3ac3721cfcd608b87f28e2a13f (diff)
downloadqpdf-d0e99f195a987c483bbb6c5449cf39bee34e08a1.tar.zst
More robust handling of type errors
Give objects descriptions and context so it is possible to issue warnings instead of fatal errors for attempts to access objects of the wrong type.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d6ab5ac..1d551461 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
2018-02-17 Jay Berkenbilt <ejb@ql.org>
+ * Major enhancements to handling of type errors within the qpdf
+ library. This fix is intended to eliminate those annoying cases
+ where qpdf would exit with a message like "operation for
+ dictionary object attemped on object of wrong type" without
+ providing any context. Now qpdf keeps enough context to be able to
+ issue a proper warning and to handle such conditions in a sensible
+ way. This should greatly increase the number of bad files that
+ qpdf can recover, and it should make it much easier to figure out
+ what's broken when a file contains errors.
+
* Error message fix: replace "file position" with "offset" in
error messages that report lexical or parsing errors. Sometimes
it's an offset in an object stream or a content stream rather than