Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
  • libqpdf
  • QPDF.cc
25 Feb, 2018
3 commits
  • 8.0.rc3
    111ec509
    Jay Berkenbilt authored
    2018-02-25 14:17:59 -0500  
    Browse File »
  • 8.0.rc2
    d3d3970c
    Jay Berkenbilt authored
    2018-02-25 13:50:22 -0500  
    Browse File »
  • Update version to 8.0.rc1 ...
    a16d703f
    This is for testing the release process, particularly as it pertains
    to AppImage creation.
    Jay Berkenbilt authored
    2018-02-25 09:03:27 -0500  
    Browse File »

20 Feb, 2018
1 commit
  • Bump version number and soname ...
    82cae01a
    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.
    Jay Berkenbilt authored
    2018-02-20 21:31:38 -0500  
    Browse File »

18 Feb, 2018
3 commits
  • More robust handling of type errors ...
    d0e99f19
    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.
    Jay Berkenbilt authored
    2018-02-18 21:06:27 -0500  
    Browse File »
  • Include omitted object description in error message
    52e024f7
    Jay Berkenbilt authored
    2018-02-18 21:06:27 -0500  
    Browse File »
  • Include filename in object stream parse error
    cb3b705c
    Jay Berkenbilt authored
    2018-02-18 21:06:27 -0500  
    Browse File »

04 Feb, 2018
2 commits
  • Prepare 7.1.1 release
    2ebdd692
    Jay Berkenbilt authored
    2018-02-04 18:31:42 -0500  
    Browse File »
  • Fix offset in error message
    7e5e1a71
    Jay Berkenbilt authored
    2018-02-04 14:19:00 -0500  
    Browse File »

14 Jan, 2018
2 commits
  • Update version numbers for 7.1.0
    2e4ca7ec
    Jay Berkenbilt authored
    2018-01-14 20:09:20 -0500  
    Browse File »
  • Allow raw encryption key to be specified ...
    569d74d3
    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.
    Jay Berkenbilt authored
    2018-01-14 10:21:05 -0500  
    Browse File »

25 Dec, 2017
1 commit
  • Correct errors in PNG filters and make use from library
    a3a55be9
    Jay Berkenbilt authored
    2017-12-25 14:24:48 -0500  
    Browse File »

16 Sep, 2017
1 commit
  • Prepare 7.0.0 release
    0f1ce8e6
    Jay Berkenbilt authored
    2017-09-16 13:22:15 -0400  
    Browse File »

12 Sep, 2017
1 commit
  • Improve message for stream decoding error ...
    d31a7b76
    Tweak the message so that we inform the user that we are mitigating
    data loss.
    Jay Berkenbilt authored
    2017-09-12 16:03:48 -0400  
    Browse File »

29 Aug, 2017
1 commit
  • Replace all atoi calls with QUtil::string_to_int ...
    1868a10f
    The latter catches underflow/overflow.
    Jay Berkenbilt authored
    2017-08-29 12:28:32 -0400  
    Browse File »

25 Aug, 2017
1 commit
  • Detect xref pointer infinite loop (fixes #149)
    85f05cc5
    Jay Berkenbilt authored
    2017-08-25 19:58:31 -0400  
    Browse File »

22 Aug, 2017
3 commits
  • Bump soname to 18 and version to 7.0.b1
    1e52d338
    Jay Berkenbilt authored
    2017-08-22 16:50:48 -0400  
    Browse File »
  • Limit token length during xref recovery ...
    fabff0f3
    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.
    Jay Berkenbilt authored
    2017-08-22 14:13:10 -0400  
    Browse File »
  • Fix logic error in recovery ...
    6884ad2e
    A stray semicolon caused a condition to be incorrectly applied during
    stream length recovery.
    Jay Berkenbilt authored
    2017-08-22 07:19:41 -0400  
    Browse File »

21 Aug, 2017
2 commits
  • Push QPDF member variables into a nested class ...
    a8c93bd3
    Pushing member variables into a nested class enables addition of new
    member variables without breaking binary compatibility.
    Jay Berkenbilt authored
    2017-08-21 21:35:11 -0400  
    Browse File »
  • Enable finer grained control of stream decoding ...
    9744414c
    This commit adds several API methods that enable control over which
    types of filters QPDF will attempt to decode. It also adds support for
    /RunLengthDecode and /DCTDecode filters for both encoding and
    decoding.
    Jay Berkenbilt authored
    2017-08-21 17:44:22 -0400  
    Browse File »

11 Aug, 2017
1 commit
  • Prevent a division by zero error (fixes #141) ...
    46611f07
    Bad /W in an xref stream could cause a division by zero error. Now
    this is handled as a special case.
    Jay Berkenbilt authored
    2017-08-11 20:11:19 -0400  
    Browse File »

10 Aug, 2017
7 commits
  • Read xref table without PCRE ...
    30f109e2
    Also accept more errors than before.
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse File »
  • Reconstruct xref without PCRE
    98a843c2
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse File »
  • Improve stream length recovery ...
    ca5b1d26
    Eliminate PCRE and find endobj not preceded by endstream. Be more lax
    about placement of endstream and endobj.
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse File »
  • Find xref without PCRE
    3082e4e6
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse File »
  • Find starxref without PCRE
    03aa9679
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse File »
  • Find header without PCRE
    1765c6ec
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse File »
  • Allow QPDFTokenizer::readToken to return bad tokens ...
    ef8ae544
    Sometimes we want to ignore bad tokens rather than having them throw
    an exception. A coverage case is commented out here and added in a
    later commit.
    Jay Berkenbilt authored
    2017-08-10 19:01:41 -0400  
    Browse File »

29 Jul, 2017
5 commits
  • Catch more exceptions while resolving objects
    570db9b6
    Jay Berkenbilt authored
    2017-07-29 19:31:12 -0400  
    Browse File »
  • When recover stream length, indicate the length (fixes #44)
    b43a0ac2
    Jay Berkenbilt authored
    2017-07-29 19:15:06 -0400  
    Browse File »
  • Handle zlib data errors better (fixes #106)
    6a7d53ad
    Jay Berkenbilt authored
    2017-07-29 12:19:04 -0400  
    Browse File »
  • Better recovery of bad stream start (fixes #104)
    07d6f770
    Jay Berkenbilt authored
    2017-07-29 12:19:04 -0400  
    Browse File »
  • Use 1.2 as the version if we can't read it from the header ...
    ba2bae4a
    The code was using 1.0, but we use /FlateDecode, which didn't appear
    until 1.2.
    Jay Berkenbilt authored
    2017-07-29 12:19:04 -0400  
    Browse File »

28 Jul, 2017
2 commits
  • Add option to preserve unreferenced objects
    3a1ff5de
    Jay Berkenbilt authored
    2017-07-28 19:19:11 -0400  
    Browse File »
  • Explicitly check root dictionary type ...
    a94a729f
    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.
    Jay Berkenbilt authored
    2017-07-28 18:03:30 -0400  
    Browse File »

27 Jul, 2017
3 commits
  • Add precheck streams capability ...
    7f889252
    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.
    Jay Berkenbilt authored
    2017-07-27 23:42:27 -0400  
    Browse File »
  • Convert many more errors to warnings
    428d96df
    Jay Berkenbilt authored
    2017-07-27 22:57:55 -0400  
    Browse File »
  • Convert object parsing errors to warnings ...
    40f00122
    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.
    Jay Berkenbilt authored
    2017-07-27 18:20:31 -0400  
    Browse File »

26 Jul, 2017
1 commit
  • Detect recursion loops resolving objects (fixes #51) ...
    701b518d
    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.
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse File »