Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-13 | Prepare 9.0.2 releaserelease-qpdf-9.0.2 | Jay Berkenbilt | |
2019-09-20 | Prepare 9.0.1 release | Jay Berkenbilt | |
2019-09-18 | Fix fuzz issue 16953 (overflow checking in xref stream index) | Jay Berkenbilt | |
2019-09-01 | Prepare 9.0.0 releaserelease-qpdf-9.0.0 | Jay Berkenbilt | |
2019-08-31 | Add methods QPDF::anyWarnings and QPDF::closeInputSource | Jay Berkenbilt | |
2019-08-28 | Fix fuzz issues 15316 and 15390 | Jay Berkenbilt | |
2019-08-27 | Seek in two stages to avoid overflow | Jay 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-27 | Fix fuzz issue 15387 (overflow checking xref size) | Jay Berkenbilt | |
2019-08-24 | Track separately whether password was user/owner (fixes #159) | Jay Berkenbilt | |
2019-08-22 | Protect against coding error of re-entrant parsing | Jay Berkenbilt | |
2019-08-20 | Accept extraneous space before xref (fixes #341) | Jay Berkenbilt | |
2019-08-20 | Accept extraneous space after stream keyword (fixes #329) | Jay Berkenbilt | |
2019-08-20 | Handle invalid name tokens symmetrically for PDF < 1.2 (fixes #332) | Jay Berkenbilt | |
2019-08-18 | Improve efficiency of fixDanglingReferences | Jay Berkenbilt | |
2019-06-22 | Remove QPDF::copyForeignObject with unused parameter | Jay Berkenbilt | |
2019-06-21 | Fix sign and conversion warnings (major) | Jay Berkenbilt | |
This makes all integer type conversions that have potential data loss explicit with calls that do range checks and raise an exception. After this commit, qpdf builds with no warnings when -Wsign-conversion -Wconversion is used with gcc or clang or when -W3 -Wd4800 is used with MSVC. This significantly reduces the likelihood of potential crashes from bogus integer values. There are some parts of the code that take int when they should take size_t or an offset. Such places would make qpdf not support files with more than 2^31 of something that usually wouldn't be so large. In the event that such a file shows up and is valid, at least qpdf would raise an error in the right spot so the issue could be legitimately addressed rather than failing in some weird way because of a silent overflow condition. | |||
2019-06-15 | Eliminate one potential integer overflow | Jay Berkenbilt | |
There are more to handle, but this resolves an issue already caught by oss-fuzz. | |||
2019-05-18 | Prepare 8.4.2 release | Jay Berkenbilt | |
2019-04-28 | Prepare 8.4.1 releaserelease-qpdf-8.4.1 | Jay Berkenbilt | |
2019-03-12 | Undefined functions because of missing std:: or header. (#295) | Thorsten Schöning | |
* [bcc32 Error] QPDF.cc(375): E2268 Call to undefined function 'atof' Full parser context QPDF.cc(358): parsing: void QPDF::parse(const char *) * [bcc32 Error] QPDFTokenizer.cc(183): E2268 Call to undefined function 'strtol' Full parser context QPDFTokenizer.cc(163): parsing: void QPDFTokenizer::resolveLiteral() * [bcc32 Error] pdf-split-pages.cc(52): E2268 Call to undefined function 'exit' Full parser context pdf-split-pages.cc(50): parsing: void usage() * PR #295: Including "cstdlib" should be replaced with "stdlib.h" to be more consistent. At the same time I changed the order of the surrounding includes to reflect alphabetical order, because at some files this already have been the case. | |||
2019-02-02 | Prepare 8.4.0 release | Jay Berkenbilt | |
2019-01-29 | Clarify documentation for copyForeignObject regarding pages | Jay Berkenbilt | |
Make explicit that copyForeignObject can be used on page objects and will copy them properly but not update the pages tree. | |||
2019-01-12 | Allow adding the same page more than once in --pages (fixes #272) | Jay Berkenbilt | |
2019-01-11 | Add QPDF::setImmediateCopyFrom | Jay Berkenbilt | |
2019-01-07 | Update version to 8.3.0 | Jay Berkenbilt | |
2019-01-07 | Exercise out of scope original pdf for copyForeignObject | Jay Berkenbilt | |
2019-01-07 | Mostly don't require original QPDF for copyForeignObject (fixes #219) | Jay Berkenbilt | |
The original QPDF is only required now when the source QPDFObjectHandle is a stream that gets its stream data from a QPDFObjectHandle::StreamDataProvider. | |||
2019-01-07 | Make a static version of QPDF::pipeStreamData | Jay Berkenbilt | |
This is in preparation of being able to pipe a stream's data without keeping a copy of its containing qpdf object. | |||
2019-01-07 | Create an application-scope unique ID for each QPDF object | Jay Berkenbilt | |
Use this instead of QPDF* as a map key for object_copiers. | |||
2019-01-06 | Move encryption parameters into a class | Jay Berkenbilt | |
2019-01-04 | Don't call assert while checking linearization data (fixes #209, #231) | Jay Berkenbilt | |
Instead of calling assert for problems found during checking linearization data, throw an exception which is later caught and issued as an error. Ideally we would handle errors more robustly, but this is still a significant improvement. | |||
2019-01-04 | Fix dangling references (fixes #240) | Jay Berkenbilt | |
On certain operations, such as iterating through all objects and adding new indirect objects, walk through the entire object structure and explicitly resolve any indirect references to non-existent objects. That prevents new objects from springing into existence and causing the previously dangling references to point to them. | |||
2019-01-03 | Fix seg fault on empty xref stream (fixes #263) | Jay Berkenbilt | |
Thanks to @p-cher for supplying a patch. | |||
2018-08-18 | Prepare 8.2.1 releaserelease-qpdf-8.2.1 | Jay Berkenbilt | |
2018-08-16 | Prepare 8.2.0 releaserelease-qpdf-8.2.0 | Jay Berkenbilt | |
2018-06-23 | Prepare 8.1.0 releaserelease-qpdf-8.1.0 | Jay Berkenbilt | |
2018-06-22 | Add method to get count of objects in QPDF | Jay Berkenbilt | |
2018-03-06 | Prepare 8.0.2 releaserelease-qpdf-8.0.2 | Jay Berkenbilt | |
2018-03-05 | Treat loop in xref tables as damage (fixes #192) | Jay Berkenbilt | |
Prior to this fix, if there was a loop detected in following /Prev pointers in xref streams/tables, it would cause qpdf to lose data. Note that this condition causes many PDF readers to hang or fail. | |||
2018-03-04 | Prepare 8.0.1 releaserelease-qpdf-8.0.1 | Jay Berkenbilt | |
2018-02-25 | Release 8.0.0release-qpdf-8.0.0 | Jay Berkenbilt | |
2018-02-25 | 8.0.rc3release-qpdf-8.0.rc3 | Jay Berkenbilt | |
2018-02-25 | 8.0.rc2release-qpdf-8.0.rc2 | Jay Berkenbilt | |
2018-02-25 | Update version to 8.0.rc1release-qpdf-8.0.rc1 | Jay Berkenbilt | |
This is for testing the release process, particularly as it pertains to AppImage creation. | |||
2018-02-21 | Bump version number and soname | Jay Berkenbilt | |
Bump to an alpha release. This version is not being widely released but is being used to push the new shared library version through the debian packaging system and to test out github releases. | |||
2018-02-19 | More robust handling of type errors | Jay Berkenbilt | |
Give objects descriptions and context so it is possible to issue warnings instead of fatal errors for attempts to access objects of the wrong type. | |||
2018-02-19 | Include omitted object description in error message | Jay Berkenbilt | |
2018-02-19 | Include filename in object stream parse error | Jay Berkenbilt | |
2018-02-05 | Prepare 7.1.1 releaserelease-qpdf-7.1.1 | Jay Berkenbilt | |
2018-02-04 | Fix offset in error message | Jay Berkenbilt | |