aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf
AgeCommit message (Collapse)Author
2018-02-05Prepare 7.1.1 releaserelease-qpdf-7.1.1Jay Berkenbilt
2018-02-05Fix linearization for files with nonstandard ID lengthJay Berkenbilt
2018-02-04Fix setLineBuf for bsd (fixes #177)Jay Berkenbilt
Use 0 instead of NULL in a cast.
2018-02-04Remove use of std::abs (fixes #172)Jay Berkenbilt
Different compilers want different choices of headers for std::abs. It's easier to just to not use it.
2018-02-04Fix indentationJay Berkenbilt
2018-02-04Fix offset in error messageJay Berkenbilt
2018-01-29Pl_QPDFTokenizer: Use unsigned_char_pointer instead of copyJay Berkenbilt
2018-01-29Minor fixes to tokenizerJay Berkenbilt
2018-01-15Update version numbers for 7.1.0release-qpdf-7.1.0Jay Berkenbilt
2018-01-15Fixes for clangJay Berkenbilt
2018-01-14Allow raw encryption key to be specifiedJay Berkenbilt
Add options to enable the raw encryption key to be directly shown or specified. Thanks to Didier Stevens <didier.stevens@gmail.com> for the idea and contribution of one implementation of this idea.
2018-01-14Add QUtil::hex_decodeJay Berkenbilt
2018-01-14Allow trailing . in numeric token (fixes #165)Jay Berkenbilt
2018-01-14Support TIFF Predictor (fixes #171)Jay Berkenbilt
2018-01-14Add Pl_TIFFPredictorJay Berkenbilt
2018-01-14Add signed support to BitStream and BitWriterJay Berkenbilt
2018-01-14Minor fixes to Pl_PNGFilterJay Berkenbilt
Fix comment, remove restriction that doesn't actually matter.
2018-01-14Use better error for getStreamData failureJay Berkenbilt
If the stream isn't filterable but we call getStreamData, throw a regular exception instead of a logic error so that normal error handling and reporting mechanisms will be used.
2017-12-26Add tests for new PNG filtersJay Berkenbilt
2017-12-25Correct errors in PNG filters and make use from libraryJay Berkenbilt
2017-12-25Initial implementation of other PNG decode filtersCasey Rojas
Initial implementation provided by Casey Rojas <crojas@infotechfl.com> Some problems are fixed in a subsequent commit.
2017-09-16Prepare 7.0.0 releaserelease-qpdf-7.0.0Jay Berkenbilt
2017-09-16Fix test failure on MSVCJay Berkenbilt
2017-09-16Spell checkJay Berkenbilt
2017-09-16Fix Windows compilation errorsJay Berkenbilt
2017-09-12Improve message for stream decoding errorJay Berkenbilt
Tweak the message so that we inform the user that we are mitigating data loss.
2017-09-12Update C API with new QPDFWriter methodsJay Berkenbilt
2017-09-08Pl_DCT: Use custom source and destination managers (fixes #153)Jay Berkenbilt
Avoid calling jpeg_mem_src and jpeg_mem_dest. The custom destination manager writes to the pipeline in smaller chunks to avoid having the whole image in memory at once. The source manager works directly with the Buffer object. Using customer managers avoids use of memory source and destination managers, which are not present in older versions of libjpeg still in use by some Linux distributions.
2017-08-31PNGFilter: Better range checking for columnsJay Berkenbilt
2017-08-29Replace all atoi calls with QUtil::string_to_intJay Berkenbilt
The latter catches underflow/overflow.
2017-08-29Pl_PNGFilter: disallow columns = 0Jay Berkenbilt
2017-08-29Detect integer overflow/underflowJay Berkenbilt
2017-08-29Fix memory leak with bad jpeg dataJay Berkenbilt
2017-08-29Clean up circular references in QPDF_StreamJay Berkenbilt
2017-08-27Fix error caught by clangJay Berkenbilt
2017-08-27Pad keys to avoid memory errors (fixes #147)Jay Berkenbilt
2017-08-26Fix Pl_Flate memory leak on error (fixes #148)Jay Berkenbilt
2017-08-26Parse iteratively to avoid stack overflow (fixes #146)Jay Berkenbilt
2017-08-26Detect xref pointer infinite loop (fixes #149)Jay Berkenbilt
2017-08-22Bump soname to 18 and version to 7.0.b1release-qpdf-7.0.b1Jay Berkenbilt
2017-08-22Spell checkJay Berkenbilt
2017-08-22Update references to README filesJay Berkenbilt
Most of the README files have been renamed. Refer to the new names.
2017-08-22Do memory checksJay Berkenbilt
Slightly improve memory cleanup in Pl_DCT Make it easier to test with valgrind
2017-08-22Limit token length during xref recoveryJay Berkenbilt
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.
2017-08-22Fix compiler warnings for clang/mac OS XJay Berkenbilt
2017-08-22Fix logic error in recoveryJay Berkenbilt
A stray semicolon caused a condition to be incorrectly applied during stream length recovery.
2017-08-22Push QPDFWriter member variables into a nested classJay Berkenbilt
2017-08-22Push QPDF member variables into a nested classJay Berkenbilt
Pushing member variables into a nested class enables addition of new member variables without breaking binary compatibility.
2017-08-22Improve pclm parameter settingsJay Berkenbilt
2017-08-22Combine writePCLm with writeStandardJay Berkenbilt
Reduce code duplication