Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-11 | Remove unused PointerHolder interface | Jay Berkenbilt | |
Also fix a bug resulting from incorrect use of PointerHolder because of this unused parameter. | |||
2017-08-10 | Call PointerHolder constructor properly (fixes #135) | Jay Berkenbilt | |
Passed arguments to the constructor in the wrong order. | |||
2017-08-05 | Add --split-pages option (fixes #30) | Jay Berkenbilt | |
2017-08-05 | QUtil::strcasecmp | Jay Berkenbilt | |
2017-08-05 | Split bug tests into separate chunk | Jay Berkenbilt | |
2017-08-05 | Fix doc typo | Jay Berkenbilt | |
2017-08-05 | Refactor write_output | Jay Berkenbilt | |
2017-08-05 | Move page spec processing earlier | Jay Berkenbilt | |
2017-08-05 | Split qpdf.cc's main into reasonably sized functions | Jay Berkenbilt | |
main() had gotten absurdly long. Split it into reasonable chunks. This refactoring is in preparation for handling splitting output into single pages. | |||
2017-08-03 | Fix off-by-one error in --pages argument parsing (fixes #129) | Jay Berkenbilt | |
2017-07-31 | Fix doc typo | Jay Berkenbilt | |
2017-07-30 | Add page rotation example in contrib | iskander.sharipov | |
This is added to contrib rather than examples because it requires c++-11 and lacks a test suite, but it is still useful enough to include with the distribution. | |||
2017-07-30 | Fix command-line checking in pdf-split-pages example | Jay Berkenbilt | |
2017-07-30 | Include missing header in QPDFTokenizer.cc (fixes #125) | Pranjal Bhor | |
Required for strtol() | |||
2017-07-30 | Allow reading command-line args from files (fixes #16) | Jay Berkenbilt | |
2017-07-30 | Detect input file = output file (fixes #29) | Jay Berkenbilt | |
2017-07-30 | Allow --check to coexist with and precede other operations (fixes #42) | Jay Berkenbilt | |
2017-07-30 | Catch more exceptions while resolving objects | Jay Berkenbilt | |
2017-07-30 | When recover stream length, indicate the length (fixes #44) | Jay Berkenbilt | |
2017-07-29 | Add newline-before-endstream option (fixes #103) | Jay Berkenbilt | |
2017-07-29 | Handle zlib data errors better (fixes #106) | Jay Berkenbilt | |
2017-07-29 | Better recovery of bad stream start (fixes #104) | Jay Berkenbilt | |
2017-07-29 | autoconf: find gnu make as gmake or make (fixes #75) | Jay Berkenbilt | |
2017-07-29 | Better handle split content streams (fixes #73) | Jay Berkenbilt | |
When parsing content streams, allow content to be split arbitrarily across stream boundaries. | |||
2017-07-29 | Fix exception catch | Jay Berkenbilt | |
2017-07-29 | Clarify documentation on copyForeignObject (fixes #69) | Jay Berkenbilt | |
Be explicit about the need to keep the source QPDF object around. | |||
2017-07-29 | Use 1.2 as the version if we can't read it from the header | Jay Berkenbilt | |
The code was using 1.0, but we use /FlateDecode, which didn't appear until 1.2. | |||
2017-07-29 | Update TODO | Jay Berkenbilt | |
2017-07-29 | Update TODO | Jay Berkenbilt | |
2017-07-29 | Add option to preserve unreferenced objects | Jay Berkenbilt | |
2017-07-29 | Explicitly check root dictionary type | Jay Berkenbilt | |
Very badly corrupted files may not have a retrievable root dictionary. Handle that as a special case so that a more helpful error message can be provided. | |||
2017-07-28 | Update TODO | Jay Berkenbilt | |
2017-07-28 | Add precheck streams capability | Jay Berkenbilt | |
When requested, QPDFWriter will do more aggress prechecking of streams to make sure it can actually succeed in decoding them before attempting to do so. This will allow preservation of raw data even when the raw data is corrupted relative to the specified filters. | |||
2017-07-28 | Convert many more errors to warnings | Jay Berkenbilt | |
2017-07-28 | Convert stream filtering errors to warnings | Jay Berkenbilt | |
2017-07-28 | Convert object parsing errors to warnings | Jay Berkenbilt | |
QPDFObjectHandle::parseInternal now issues warnings instead of throwing exceptions for all error conditions that it finds (except internal logic errors) and has stronger recovery for things like invalid tokens and malformed dictionaries. This should improve qpdf's ability to recover from a wide range of broken files that currently cause it to fail. | |||
2017-07-27 | Move lexer helper functions to QUtil | Jay Berkenbilt | |
2017-07-27 | Remove PCRE from QPDFTokenizer | Jay Berkenbilt | |
2017-07-26 | Make windows includes lowercase (fixes #123) | slurdge | |
For cross compiling. | |||
2017-07-26 | TODO: bump ABI version | Jay Berkenbilt | |
2017-07-26 | Include tests for other infinite loop bugs | Jay Berkenbilt | |
fixes #117 fixes #118 fixes #119 fixes #120 Several other infinite loop bugs were fixed by previous changes. Include their test files in the test suite. | |||
2017-07-26 | Don't interpret word tokens in content streams (fixes #82) | Jay Berkenbilt | |
2017-07-26 | Detect recursion loops resolving objects (fixes #51) | Jay Berkenbilt | |
During parsing of an object, sometimes parts of the object have to be resolved. An example is stream lengths. If such an object directly or indirectly points to the object being parsed, it can cause an infinite loop. Guard against all cases of re-entrant resolution of objects. | |||
2017-07-26 | Handle object ID 0 (fixes #99) | Jay Berkenbilt | |
This is CVE-2017-9208. The QPDF library uses object ID 0 internally as a sentinel to represent a direct object, but prior to this fix, was not blocking handling of 0 0 obj or 0 0 R as a special case. Creating an object in the file with 0 0 obj could cause various infinite loops. The PDF spec doesn't allow for object 0. Having qpdf handle object 0 might be a better fix, but changing all the places in the code that assumes objid == 0 means direct would be risky. | |||
2017-07-26 | Avoid xref reconstruction infinite loop (fixes #100) | Jay Berkenbilt | |
This is CVE-2017-9209. | |||
2017-07-26 | Fix infinite loop while reporting an error (fixes #101) | Jay Berkenbilt | |
This is CVE-2017-9210. The description string for an error message included unparsing an object, which is too complex of a thing to try to do while throwing an exception. There was only one example of this in the entire codebase, so it is not a pervasive problem. Fixing this eliminated one class of infinite loop errors. | |||
2017-07-26 | Fix typo in comment | Jay Berkenbilt | |
2017-07-26 | Updates for newer Windows toolchain | Jay Berkenbilt | |
2016-12-27 | Note about std::regex attempt | Jay Berkenbilt | |
2016-09-10 | install target: only install docs if building | Jay Berkenbilt | |
Don't try to install HTML or PDF documentation if we're not building docs. |