diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-30 20:26:08 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-31 15:26:37 +0100 |
commit | 2b6c79bcaeee0548f3d7291876eb3821e14b8227 (patch) | |
tree | 5152859c6f94227d0bc2edb6b59250a24d4b6603 /ChangeLog | |
parent | ec9e310c9ea9cee8d9e16cad2a68f0ad096f3a4b (diff) | |
download | qpdf-2b6c79bcaeee0548f3d7291876eb3821e14b8227.tar.zst |
Improve locating inline image's EI
We've actually seen a PDF file in the wild that contained EI
surrounded by delimiters inside the image data, which confused qpdf's
naive code. This significantly improves EI detection.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2019-01-30 Jay Berkenbilt <ejb@ql.org> + + * Improve locating of an inline image's EI operator to correctly + handle the case of EI appearing inside the image data. + + * Very low-level QPDFTokenizer API now includes an + expectInlineImage method that takes an input stream, enabling it + to locate an inline image's EI operator better. This is called + automatically everywhere within the qpdf library. Most user code + will never have to use the low-level tokenizer API. If you use + Pl_QPDFTokenizer, this will be done automatically for you. + 2019-01-29 Jay Berkenbilt <ejb@ql.org> * Bug fix: when returning an inline image token, the tokenizer no |