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
27 Jul, 2017
4 commits
  • Convert stream filtering errors to warnings
    a4fd4b91
    Jay Berkenbilt authored
    2017-07-27 18:43:07 -0400  
    Browse Code »
  • 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 Code »
  • Move lexer helper functions to QUtil
    dd8dad74
    Jay Berkenbilt authored
    2017-07-27 13:59:56 -0400  
    Browse Code »
  • Remove PCRE from QPDFTokenizer
    0a745021
    Jay Berkenbilt authored
    2017-07-27 13:59:56 -0400  
    Browse Code »

26 Jul, 2017
10 commits
  • Make windows includes lowercase (fixes #123) ...
    8740b380
    For cross compiling.
    slurdge authored
    2017-07-26 06:39:09 -0400  
    Browse Code »
  • TODO: bump ABI version
    1e831cb9
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Code »
  • Include tests for other infinite loop bugs ...
    ac3c81a8
    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.
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Code »
  • Don't interpret word tokens in content streams (fixes #82)
    12db0989
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Code »
  • 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 Code »
  • 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 Code »
  • Avoid xref reconstruction infinite loop (fixes #100) ...
    315092dd
    This is CVE-2017-9209.
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Code »
  • 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 Code »
  • Fix typo in comment
    bd6c8456
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Code »
  • Updates for newer Windows toolchain
    e0ee307a
    Jay Berkenbilt authored
    2017-07-26 06:24:07 -0400  
    Browse Code »

27 Dec, 2016
1 commit
  • Note about std::regex attempt
    d4d7612b
    Jay Berkenbilt authored
    2016-12-27 14:34:18 -0500  
    Browse Code »

10 Sep, 2016
2 commits
  • install target: only install docs if building ...
    e8b845dd
    Don't try to install HTML or PDF documentation if we're not building
    docs.
    Jay Berkenbilt authored
    2016-09-10 14:30:47 -0400  
    Browse Code »
  • Fix page range example in documentation
    80988380
    Jay Berkenbilt authored
    2016-09-10 10:56:21 -0400  
    Browse Code »

24 Jan, 2016
14 commits
  • 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 Code »
  • Include QPDFExc.hh for use in std::list
    7c08aa42
    Thorsten Schöning authored
    2016-01-24 12:07:03 -0500  
    Browse Code »
  • Use RM_WS_ONLY_LINES in test ...
    bfb93413
    Some compilers output extra newlines in some cases.
    Thorsten Schöning authored
    2016-01-24 12:05:22 -0500  
    Browse Code »
  • Include stdlib.h to provide exit
    953e6f64
    Thorsten Schöning authored
    2016-01-24 12:05:02 -0500  
    Browse Code »
  • Include QPDFObjectHandle for use in std::list ...
    e0201c12
    QPDFObjectHandle was used as forward declaration, but C++-Builder 10
    Seattle can't use it in std::list in such cases because the type is
    undefined.
    Thorsten Schöning authored
    2016-01-24 12:04:25 -0500  
    Browse Code »
  • From qtest: add RM_WS_ONLY_LINES option ...
    d4043604
    qutil.cc uses strerror to print some exceptions and adds a newline
    afterwards, but strerror in Windows already adds one newline at the
    end of the message and the additional one from std::endl breaks the
    output vs. the expected one.
    Thorsten Schöning authored
    2016-01-24 11:58:33 -0500  
    Browse Code »
  • Tweak wording of Thorsten's documentation updates
    15502013
    Jay Berkenbilt authored
    2016-01-24 11:52:09 -0500  
    Browse Code »
  • Add notes for running more tests on Windows ...
    dded2ec0
    Provide notes about LibTiff and such.
    Thorsten Schöning authored
    2016-01-24 11:52:09 -0500  
    Browse Code »
  • Support paths with spaces
    e80b6e33
    Thorsten Schöning authored
    2016-01-24 11:52:09 -0500  
    Browse Code »
  • Use absolute paths for large file tests ...
    eff935ab
    Working with absolute paths makes debugging easier, but some called
    scripts always need / as dir separator or won't work.
    Thorsten Schöning authored
    2016-01-24 11:52:09 -0500  
    Browse Code »
  • Fix non-portable use of /dev/null ...
    adbaa54a
    /dev/null is not portable, so use File::Spec instead, which provides
    portable "paths" and especially "nul" on Windows. I changed all places
    with hard coded /dev/null to be sure, while I think it only is a
    problem in direct system calls, because the other executed commands go
    to sh.exe from MSYS which itself should port /dev/null to NUL. The
    test still pass, so shouldn't have made any harm...
    Thorsten Schöning authored
    2016-01-24 11:52:09 -0500  
    Browse Code »
  • Fix expr syntax, support spaces in paths ...
    951dbc3b
    expr needs ARG + ARG
    quote paths to support support spaces
    Thorsten Schöning authored
    2016-01-24 11:52:09 -0500  
    Browse Code »
  • Explicitly invoke shell scripts with sh ...
    3c1555a6
    Shebang doesn't work well on Windows.
    Thorsten Schöning authored
    2016-01-24 11:52:09 -0500  
    Browse Code »
  • Useless use of a constant in void context ...
    8ae70017
    Remove an extraneous newline to avoid useless constant warning.
    Thorsten Schöning authored
    2016-01-24 11:51:38 -0500  
    Browse Code »

10 Nov, 2015
3 commits
  • Prepare 6.0.0 release
    b7302a9b
    Jay Berkenbilt authored
    2015-11-10 12:48:52 -0500  
    Browse Code »
  • Bump library soname ...
    1f4a6791
    Also update maintainer documentation on binary compatibility testing.
    Jay Berkenbilt authored
    2015-11-10 12:42:37 -0500  
    Browse Code »
  • 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 Code »

01 Nov, 2015
2 commits
  • Prepare 5.2.0 release
    e5abc789
    Jay Berkenbilt authored
    2015-11-01 16:40:01 -0500  
    Browse Code »
  • Comment use of static ID in examples ...
    e0664883
    Make sure people know that static ID should be used only for testing.
    Jay Berkenbilt authored
    2015-11-01 16:40:01 -0500  
    Browse Code »

31 Oct, 2015
4 commits
  • Fix copyright year in manual
    8ddca96e
    Jay Berkenbilt authored
    2015-10-31 19:10:19 -0400  
    Browse Code »
  • Linearize manual
    ccc4f135
    Jay Berkenbilt authored
    2015-10-31 19:10:19 -0400  
    Browse Code »
  • Fix spelling errors
    0496ab1a
    Jay Berkenbilt authored
    2015-10-31 18:56:43 -0400  
    Browse Code »
  • 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 Code »