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
10 Aug, 2017
6 commits
  • Find xref without PCRE
    3082e4e6
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse Dir »
  • Find lindict without PCRE
    90840be5
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse Dir »
  • Find starxref without PCRE
    03aa9679
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse Dir »
  • Find header without PCRE
    1765c6ec
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse Dir »
  • Implement findFirst and findLast in InputSource ...
    296b679d
    Preparing to refactor some pattern searching code to use these instead
    of their own memchr loops. This should simplify the code that replaces
    PCRE.
    Jay Berkenbilt authored
    2017-08-10 21:30:32 -0400  
    Browse Dir »
  • 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 Dir »

05 Aug, 2017
1 commit
  • QUtil::strcasecmp
    8fe261d8
    Jay Berkenbilt authored
    2017-08-05 10:22:33 -0400  
    Browse Dir »

30 Jul, 2017
1 commit
  • Include missing header in QPDFTokenizer.cc (fixes #125) ...
    6f88fd36
    Required for strtol()
    Pranjal Bhor authored
    2017-07-30 08:47:05 -0400  
    Browse Dir »

29 Jul, 2017
10 commits
  • Allow reading command-line args from files (fixes #16)
    2d5b8544
    Jay Berkenbilt authored
    2017-07-29 22:23:21 -0400  
    Browse Dir »
  • Detect input file = output file (fixes #29)
    5993c3e8
    Jay Berkenbilt authored
    2017-07-29 20:58:01 -0400  
    Browse Dir »
  • Catch more exceptions while resolving objects
    570db9b6
    Jay Berkenbilt authored
    2017-07-29 19:31:12 -0400  
    Browse Dir »
  • When recover stream length, indicate the length (fixes #44)
    b43a0ac2
    Jay Berkenbilt authored
    2017-07-29 19:15:06 -0400  
    Browse Dir »
  • Add newline-before-endstream option (fixes #103)
    f37d399d
    Jay Berkenbilt authored
    2017-07-29 12:21:38 -0400  
    Browse Dir »
  • Handle zlib data errors better (fixes #106)
    6a7d53ad
    Jay Berkenbilt authored
    2017-07-29 12:19:04 -0400  
    Browse Dir »
  • Better recovery of bad stream start (fixes #104)
    07d6f770
    Jay Berkenbilt authored
    2017-07-29 12:19:04 -0400  
    Browse Dir »
  • Better handle split content streams (fixes #73) ...
    b389268f
    When parsing content streams, allow content to be split arbitrarily
    across stream boundaries.
    Jay Berkenbilt authored
    2017-07-29 12:19:04 -0400  
    Browse Dir »
  • Fix exception catch
    a1368242
    Jay Berkenbilt authored
    2017-07-29 12:19:04 -0400  
    Browse Dir »
  • 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 Dir »

28 Jul, 2017
2 commits
  • Add option to preserve unreferenced objects
    3a1ff5de
    Jay Berkenbilt authored
    2017-07-28 19:19:11 -0400  
    Browse Dir »
  • 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 Dir »

27 Jul, 2017
6 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 Dir »
  • Convert many more errors to warnings
    428d96df
    Jay Berkenbilt authored
    2017-07-27 22:57:55 -0400  
    Browse Dir »
  • Convert stream filtering errors to warnings
    a4fd4b91
    Jay Berkenbilt authored
    2017-07-27 18:43:07 -0400  
    Browse Dir »
  • 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 Dir »
  • Move lexer helper functions to QUtil
    dd8dad74
    Jay Berkenbilt authored
    2017-07-27 13:59:56 -0400  
    Browse Dir »
  • Remove PCRE from QPDFTokenizer
    0a745021
    Jay Berkenbilt authored
    2017-07-27 13:59:56 -0400  
    Browse Dir »

26 Jul, 2017
6 commits
  • Make windows includes lowercase (fixes #123) ...
    8740b380
    For cross compiling.
    slurdge authored
    2017-07-26 06:39:09 -0400  
    Browse Dir »
  • Don't interpret word tokens in content streams (fixes #82)
    12db0989
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Dir »
  • 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 Dir »
  • Handle object ID 0 (fixes #99) ...
    afe0242b
    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.
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Dir »
  • Avoid xref reconstruction infinite loop (fixes #100) ...
    315092dd
    This is CVE-2017-9209.
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Dir »
  • Fix infinite loop while reporting an error (fixes #101) ...
    603f2223
    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.
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Dir »

24 Jan, 2016
1 commit
  • C++-Builder supports 64 Bit file functions ...
    b3c08f4f
    The 64 Bit file functions are supported by C++-Builder as well and
    need to be used, else fseek will error out on larger files than 4 GB
    like used in the large file test.
    Thorsten Schöning authored
    2016-01-24 12:07:20 -0500  
    Browse Dir »

10 Nov, 2015
3 commits
  • Prepare 6.0.0 release
    b7302a9b
    Jay Berkenbilt authored
    2015-11-10 12:48:52 -0500  
    Browse Dir »
  • Bump library soname ...
    1f4a6791
    Also update maintainer documentation on binary compatibility testing.
    Jay Berkenbilt authored
    2015-11-10 12:42:37 -0500  
    Browse Dir »
  • Remove some ABI compatibility private methods ...
    e0e9d646
    Since we have to bump soname, remove some private methods that were
    just there for binary compatibility
    Jay Berkenbilt authored
    2015-11-10 12:22:40 -0500  
    Browse Dir »

01 Nov, 2015
1 commit
  • Prepare 5.2.0 release
    e5abc789
    Jay Berkenbilt authored
    2015-11-01 16:40:01 -0500  
    Browse Dir »

31 Oct, 2015
3 commits
  • Tolerate some mangled xref tables ...
    b62cbe25
    If xref table entries lack the spec-required trailing whitespace or
    contain a small amount of extra space, handle them anyway.
    Jay Berkenbilt authored
    2015-10-31 18:56:43 -0400  
    Browse Dir »
  • Remove trailing whitespace
    f0b85a1e
    Jay Berkenbilt authored
    2015-10-31 18:56:43 -0400  
    Browse Dir »
  • Bump soname minor revision for ABI additions
    b0295559
    Jay Berkenbilt authored
    2015-10-31 18:56:43 -0400  
    Browse Dir »