aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-08-31Add remove_file and rename_file to QUtilJay Berkenbilt
2019-08-31Update release preparation instructionsJay Berkenbilt
2019-08-31Remove stray TODO commentJay Berkenbilt
2019-08-31spell checkJay Berkenbilt
2019-08-31Update C++-11 notesJay Berkenbilt
2019-08-30Notes about C++-11 for qpdf 10Jay Berkenbilt
2019-08-30Add getRefcount to PointerHolder testJay Berkenbilt
2019-08-30Update Windows image and compilerJay Berkenbilt
2019-08-30Exclude emacs backups in autogen.shJay Berkenbilt
2019-08-29TODO: update notes on ignored fuzz casesJay Berkenbilt
2019-08-29Don't encrypt trailer, fixes fuzz issue 15983Jay Berkenbilt
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-29More fuzzer notesJay Berkenbilt
2019-08-28Detect stream in object stream, fixing fuzz 16214Jay Berkenbilt
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-28Safe pipeline pop fixed fuzz issue 15445Jay Berkenbilt
2019-08-28Make popping pipeline stack saferJay Berkenbilt
Use destructors to pop the pipeline stack, and ensure that code that pops the stack is actually popping the intended thing.
2019-08-28Fix fuzz issues 15316 and 15390Jay Berkenbilt
2019-08-27Fix fuzz issue 16172 (overflow checking in OffsetInputSource)Jay Berkenbilt
2019-08-27Fix fuzz issue 15442 (overflow checking in BufferInputSource)Jay Berkenbilt
2019-08-27Seek in two stages to avoid overflowJay Berkenbilt
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-27Fix fuzz issue 15387 (overflow checking xref size)Jay Berkenbilt
2019-08-26Fix fuzz issue 15475Jay Berkenbilt
2019-08-26Fix fuzz issue 16301Jay Berkenbilt
2019-08-26Move qpdf_fuzzer tests to the endJay Berkenbilt
This makes it faster to iterate on the other ones.
2019-08-26Fuzz build: allow easy addition of test filesJay Berkenbilt
2019-08-24Include password match information in show encryptionJay Berkenbilt
2019-08-24Track separately whether password was user/owner (fixes #159)Jay Berkenbilt
2019-08-24Split long lineJay Berkenbilt
2019-08-24Add some clarification to encryption in the manualJay Berkenbilt
Per user suggestion in issue 351.
2019-08-24Add flags to control zlib compression level (fixes #113)Jay Berkenbilt
2019-08-24Add ability to set zlib compression level globallyJay Berkenbilt
2019-08-23Maintainer notes: don't use --disable-shared by defaultJay Berkenbilt
This covers up forgetting to use QPDF_DLL and QPDF_DLL_CLASS.
2019-08-23Pass offset and length to ParserCallbacks::handleObjectJay Berkenbilt
2019-08-22Test for direct, rather than resolved nulls in parserJay Berkenbilt
Just because we know an indirect reference is null, doesn't mean we shouldn't keep it indirect.
2019-08-22Remove array null flatteningJay Berkenbilt
For some reason, qpdf from the beginning was replacing indirect references to null with literal null in arrays even after removing the old behavior of flattening scalar references. This seems like a bad idea.
2019-08-22Mention name tokens in TokenFilter commentsJay Berkenbilt
2019-08-22Protect against coding error of re-entrant parsingJay Berkenbilt
2019-08-20Accept extraneous space before xref (fixes #341)Jay Berkenbilt
2019-08-20Accept extraneous space after stream keyword (fixes #329)Jay Berkenbilt
2019-08-20Improve invalid name token warning messageJay Berkenbilt
This message used to only appear for PDF >= 1.2. The invalid name is valid for PDF 1.0 and 1.1. However, since QPDFWriter may write a newer version, it's better to detect and warn in all cases. Therefore make the warning more informative.
2019-08-20Handle invalid name tokens symmetrically for PDF < 1.2 (fixes #332)Jay Berkenbilt
2019-08-19Attempt to repair /Type key in pages nodes (fixes #349)Jay Berkenbilt
2019-08-18Improve how qtest finds windows /binJay Berkenbilt
2019-08-18Array optimization fixes performance issues (fixes #305, #311)Jay Berkenbilt
2019-08-18Improve efficiency of fixDanglingReferencesJay Berkenbilt
2019-08-18Shallow copy arrays without removing sparsenessJay Berkenbilt
2019-08-18Use SparseOHArray in parsingJay Berkenbilt
2019-08-18Use SparseOHArray in QPDF_ArrayJay Berkenbilt
2019-08-18Refactor QPDF_Array in preparation for using SparseOHArrayJay Berkenbilt
2019-08-18SparseOHArrayJay Berkenbilt
2019-08-17Maintainer notes for using profilerJay Berkenbilt