diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-08-22 16:24:19 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-08-22 20:13:10 +0200 |
commit | fabff0f3ec571b8dc423946e252c060e229c49d7 (patch) | |
tree | 6aba218b998e0f1bb2928e21d6426352cfdcc072 /qpdf/qpdf.testcov | |
parent | caf5e39c2e68553101519fb4ce3664a73032d3a3 (diff) | |
download | qpdf-fabff0f3ec571b8dc423946e252c060e229c49d7.tar.zst |
Limit token length during xref recovery
While scanning the file looking for objects, limit the length of
tokens we allow. This prevents us from getting caught up in reading a
file character by character while digging through large streams.
Diffstat (limited to 'qpdf/qpdf.testcov')
-rw-r--r-- | qpdf/qpdf.testcov | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qpdf/qpdf.testcov b/qpdf/qpdf.testcov index c1355d59..4bc1ad0a 100644 --- a/qpdf/qpdf.testcov +++ b/qpdf/qpdf.testcov @@ -296,3 +296,4 @@ QPDF_encryption pad short parameter 0 QPDFWriter ignore self-referential object stream 0 QPDFObjectHandle found old angle 1 QPDF_Stream special filters 3 +QPDFTokenizer block long token 0 |