Masamichi Hosoda
06b818dcd3
Exclude signature dictionary from compressible objects
...
It seems better not to compress signature dictionaries. Various PDF
digital signing tools, including Adobe Acrobat Reader DC, do not
compress signature dictionaries.
Table 8.93 "Entries in a signature dictionary" in PDF 1.5 reference
describes that /ByteRange in the signature dictionary shall be used to
describe a digest that does not include the signature value
(/Contents) itself.
The byte ranges cannot be determined if the dictionary is compressed.
2019-10-22 16:16:16 -04:00
Masamichi Hosoda
5e0ba12687
Fix /Contents value representation in a signature dictionary
...
Table 8.93 "Entries in a signature dictionary" in PDF 1.5 reference
describes that the value of Contents entry is a hexadecimal string
representation when ByteRange is specified.
This commit makes QPDF always uses hexadecimal strings representation
instead of literal strings for it.
2019-10-22 16:16:16 -04:00
Jay Berkenbilt
3094955dee
Prepare 9.0.2 release
2019-10-12 19:37:40 -04:00
Jay Berkenbilt
d5ecaea488
Update fuzz errors in TODO
2019-10-12 19:37:40 -04:00
Jay Berkenbilt
e188d0fffa
Make --replace-input work with / in path ( fixes #365 )
2019-10-12 19:27:50 -04:00
Jay Berkenbilt
bcfb0c7d9a
Fix 9.0.1 version number
2019-09-20 08:07:56 -04:00
Jay Berkenbilt
4ea940b03c
Prepare 9.0.1 release
2019-09-20 07:38:18 -04:00
Jay Berkenbilt
db2e095a42
Update release notes for upcoming 9.0.1 release
2019-09-19 21:25:34 -04:00
Jay Berkenbilt
685250d7d6
Correct reversed Rectangle coordinates ( fixes #363 )
2019-09-19 21:25:34 -04:00
Jay Berkenbilt
48b7de2cc3
Fix typo in comment
2019-09-19 21:04:32 -04:00
Jay Berkenbilt
8b1e307741
Warn for duplicated dictionary keys ( fixes #345 )
2019-09-19 20:22:34 -04:00
Jay Berkenbilt
5ce287d6bb
Remove reference to automatically closed fuzz issue
2019-09-17 19:52:42 -04:00
Jay Berkenbilt
bb83e65193
Fix fuzz issue 16953 (overflow checking in xref stream index)
2019-09-17 19:48:47 -04:00
Jay Berkenbilt
17d431dfd5
Fix integer type warnings for big-endian systems
2019-09-17 19:14:27 -04:00
Jay Berkenbilt
6d81f01476
Don't assume char is signed in int conversion tests ( fixes #361 )
2019-09-17 12:18:09 -04:00
Jay Berkenbilt
8c34d67b88
Fix duplicated release notes entries
2019-08-31 22:11:28 -04:00
Jay Berkenbilt
5462dfce31
Prepare 9.0.0 release
2019-08-31 20:07:36 -04:00
Jay Berkenbilt
d89d713310
spell check
2019-08-31 15:51:21 -04:00
Jay Berkenbilt
d492bb0a90
Add --replace-input option ( fixes #321 )
2019-08-31 15:51:21 -04:00
Jay Berkenbilt
babd12c9b2
Add methods QPDF::anyWarnings and QPDF::closeInputSource
2019-08-31 15:51:20 -04:00
Jay Berkenbilt
41b5c46497
refactor: split write_outfile and do_split_pages
2019-08-31 15:51:06 -04:00
Jay Berkenbilt
b3c91f64bb
Change release notes order
2019-08-31 15:51:06 -04:00
Jay Berkenbilt
4fa7b1eb60
Add remove_file and rename_file to QUtil
2019-08-31 15:51:04 -04:00
Jay Berkenbilt
cd2bd66781
Update release preparation instructions
2019-08-31 08:49:04 -04:00
Jay Berkenbilt
dfb447ee4f
Remove stray TODO comment
2019-08-31 08:43:48 -04:00
Jay Berkenbilt
0787ec9620
spell check
2019-08-31 08:43:18 -04:00
Jay Berkenbilt
00fd9b3e03
Update C++-11 notes
2019-08-30 18:36:44 -04:00
Jay Berkenbilt
bde44c18ef
Notes about C++-11 for qpdf 10
2019-08-30 12:41:25 -04:00
Jay Berkenbilt
8c69f8495d
Add getRefcount to PointerHolder test
2019-08-30 11:58:33 -04:00
Jay Berkenbilt
646f3bc0af
Update Windows image and compiler
2019-08-30 06:13:33 -04:00
Jay Berkenbilt
9c44719f05
Exclude emacs backups in autogen.sh
2019-08-30 06:13:33 -04:00
Jay Berkenbilt
d4c41e2624
TODO: update notes on ignored fuzz cases
2019-08-28 23:06:57 -04:00
Jay Berkenbilt
0e51a9aca6
Don't encrypt trailer, fixes fuzz issue 15983
...
Ordinarily the trailer doesn't contain any strings, so this is usually
a non-issue, but if the trailer contains strings, linearizing and
encrypting with object streams would include encrypted strings in the
trailer, which would blow out the padding because encrypted strings
are longer than their cleartext counterparts.
2019-08-28 23:06:32 -04:00
Jay Berkenbilt
bb3ae14f04
More fuzzer notes
2019-08-28 23:06:32 -04:00
Jay Berkenbilt
47a38a942d
Detect stream in object stream, fixing fuzz 16214
...
It's detected in QPDFWriter instead of at parse time because I can't
figure out how to construct a test case in a reasonable time. This
commit moves the fuzz file into the regular test suite for a QTC
coverage case.
2019-08-28 12:49:04 -04:00
Jay Berkenbilt
15248aa54b
Safe pipeline pop fixed fuzz issue 15445
2019-08-27 22:27:47 -04:00
Jay Berkenbilt
ba5fb69164
Make popping pipeline stack safer
...
Use destructors to pop the pipeline stack, and ensure that code that
pops the stack is actually popping the intended thing.
2019-08-27 22:27:47 -04:00
Jay Berkenbilt
dadf8307c8
Fix fuzz issues 15316 and 15390
2019-08-27 20:39:06 -04:00
Jay Berkenbilt
456c285b02
Fix fuzz issue 16172 (overflow checking in OffsetInputSource)
2019-08-27 13:08:07 -04:00
Jay Berkenbilt
ad8081daf5
Fix fuzz issue 15442 (overflow checking in BufferInputSource)
2019-08-27 11:26:25 -04:00
Jay Berkenbilt
9a095c5c76
Seek in two stages to avoid overflow
...
When seeing to a position based on a value read from the input, we are
prone to integer overflow (fuzz issue 15442). Seek in two stages to
move the overflow check into the input source code.
2019-08-27 11:26:25 -04:00
Jay Berkenbilt
ac5e6de2e8
Fix fuzz issue 15387 (overflow checking xref size)
2019-08-27 11:26:25 -04:00
Jay Berkenbilt
6bc4cc3d48
Fix fuzz issue 15475
2019-08-25 22:52:25 -04:00
Jay Berkenbilt
94e86e2528
Fix fuzz issue 16301
2019-08-25 22:52:25 -04:00
Jay Berkenbilt
8721f189f8
Move qpdf_fuzzer tests to the end
...
This makes it faster to iterate on the other ones.
2019-08-25 22:52:25 -04:00
Jay Berkenbilt
ecca87d73c
Fuzz build: allow easy addition of test files
2019-08-25 22:52:25 -04:00
Jay Berkenbilt
9ebb55aff1
Include password match information in show encryption
2019-08-24 11:01:19 -04:00
Jay Berkenbilt
5da146c8b5
Track separately whether password was user/owner ( fixes #159 )
2019-08-24 11:01:19 -04:00
Jay Berkenbilt
5a0aef55a0
Split long line
2019-08-24 10:58:51 -04:00
Jay Berkenbilt
53930d96d0
Add some clarification to encryption in the manual
...
Per user suggestion in issue 351.
2019-08-23 21:27:41 -04:00