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
27 Aug, 2019
3 commits
  • Fix fuzz issue 15442 (overflow checking in BufferInputSource)
    ad8081da
    Jay Berkenbilt authored
    2019-08-27 11:26:25 -0400  
    Browse Dir »
  • Seek in two stages to avoid overflow ...
    9a095c5c
    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.
    Jay Berkenbilt authored
    2019-08-27 11:26:25 -0400  
    Browse Dir »
  • Fix fuzz issue 15387 (overflow checking xref size)
    ac5e6de2
    Jay Berkenbilt authored
    2019-08-27 11:26:25 -0400  
    Browse Dir »

25 Aug, 2019
2 commits
  • Fix fuzz issue 15475
    6bc4cc3d
    Jay Berkenbilt authored
    2019-08-25 22:52:25 -0400  
    Browse Dir »
  • Fix fuzz issue 16301
    94e86e25
    Jay Berkenbilt authored
    2019-08-25 22:52:25 -0400  
    Browse Dir »

24 Aug, 2019
2 commits
  • Track separately whether password was user/owner (fixes #159)
    5da146c8
    Jay Berkenbilt authored
    2019-08-24 11:01:19 -0400  
    Browse Dir »
  • Split long line
    5a0aef55
    Jay Berkenbilt authored
    2019-08-24 10:58:51 -0400  
    Browse Dir »

23 Aug, 2019
2 commits
  • Add flags to control zlib compression level (fixes #113)
    2794bfb1
    Jay Berkenbilt authored
    2019-08-23 20:34:21 -0400  
    Browse Dir »
  • Add ability to set zlib compression level globally
    dac0598b
    Jay Berkenbilt authored
    2019-08-23 20:34:21 -0400  
    Browse Dir »

22 Aug, 2019
4 commits
  • Pass offset and length to ParserCallbacks::handleObject
    3f1ab640
    Jay Berkenbilt authored
    2019-08-22 22:54:29 -0400  
    Browse Dir »
  • Test for direct, rather than resolved nulls in parser ...
    4b2e72c4
    Just because we know an indirect reference is null, doesn't mean we
    shouldn't keep it indirect.
    Jay Berkenbilt authored
    2019-08-22 17:55:16 -0400  
    Browse Dir »
  • Remove array null flattening ...
    3f3dbe22
    For some reason, qpdf from the beginning was replacing indirect
    references to null with literal null in arrays even after removing the
    old behavior of flattening scalar references. This seems like a bad
    idea.
    Jay Berkenbilt authored
    2019-08-22 17:55:16 -0400  
    Browse Dir »
  • Protect against coding error of re-entrant parsing
    225cd9da
    Jay Berkenbilt authored
    2019-08-22 17:55:16 -0400  
    Browse Dir »

19 Aug, 2019
4 commits
  • Accept extraneous space before xref (fixes #341)
    ae5bd710
    Jay Berkenbilt authored
    2019-08-19 22:24:53 -0400  
    Browse Dir »
  • Accept extraneous space after stream keyword (fixes #329)
    8a9086a6
    Jay Berkenbilt authored
    2019-08-19 21:43:44 -0400  
    Browse Dir »
  • Improve invalid name token warning message ...
    43f91f58
    This message used to only appear for PDF >= 1.2. The invalid name is
    valid for PDF 1.0 and 1.1. However, since QPDFWriter may write a newer
    version, it's better to detect and warn in all cases. Therefore make
    the warning more informative.
    Jay Berkenbilt authored
    2019-08-19 19:48:27 -0400  
    Browse Dir »
  • Handle invalid name tokens symmetrically for PDF < 1.2 (fixes #332)
    42d396f1
    Jay Berkenbilt authored
    2019-08-19 19:48:27 -0400  
    Browse Dir »

18 Aug, 2019
2 commits
  • Attempt to repair /Type key in pages nodes (fixes #349)
    d9dd99ec
    Jay Berkenbilt authored
    2019-08-18 18:54:37 -0400  
    Browse Dir »
  • Improve efficiency of fixDanglingReferences
    522d2b22
    Jay Berkenbilt authored
    2019-08-18 09:00:40 -0400  
    Browse Dir »

17 Aug, 2019
5 commits
  • Shallow copy arrays without removing sparseness
    5187a3ec
    Jay Berkenbilt authored
    2019-08-17 23:02:41 -0400  
    Browse Dir »
  • Use SparseOHArray in parsing
    bf7c6a80
    Jay Berkenbilt authored
    2019-08-17 23:02:41 -0400  
    Browse Dir »
  • Use SparseOHArray in QPDF_Array
    e5f504b6
    Jay Berkenbilt authored
    2019-08-17 23:02:41 -0400  
    Browse Dir »
  • Refactor QPDF_Array in preparation for using SparseOHArray
    a89d8a06
    Jay Berkenbilt authored
    2019-08-17 23:02:41 -0400  
    Browse Dir »
  • SparseOHArray
    e83f3308
    Jay Berkenbilt authored
    2019-08-17 23:02:41 -0400  
    Browse Dir »

03 Jul, 2019
1 commit
  • Change list to vector for outline helpers (fixes #297) ...
    8f06da75
    This change works around STL problems with Embarcadero C++ Builder
    version 10.2, but std::vector is more common than std::list in qpdf,
    and this is a relatively new API, so an API change is tolerable.
    
    Thanks to Thorsten Schöning <6223655+ams-tschoening@users.noreply.github.com>
    for the fix.
    Thorsten Schöning authored
    2019-07-03 20:08:47 -0400  
    Browse Dir »

25 Jun, 2019
2 commits
  • Convert some cases of logic_error to runtime_error ...
    4db1de97
    There were a few cases that could be caused by invalid input rather
    than bugs in the code which were throwing logic_error instead of
    runtime_error.
    Jay Berkenbilt authored
    2019-06-25 12:43:06 -0400  
    Browse Dir »
  • Convert previously overlooked static cast to QIntC
    201e8798
    Jay Berkenbilt authored
    2019-06-25 12:43:06 -0400  
    Browse Dir »

23 Jun, 2019
1 commit
  • Treat all linearization errors as warnings ...
    04f45cf6
    This also reverts the addition of a new checkLinearization that
    distinguishes errors from warnings. There's no practical distinction
    between what was considered an error and what was considered a
    warning.
    Jay Berkenbilt authored
    2019-06-23 13:45:45 -0400  
    Browse Dir »

22 Jun, 2019
8 commits
  • Handle invalid encryption Length (fixes #333)
    c5ed1b80
    Jay Berkenbilt authored
    2019-06-22 20:57:33 -0400  
    Browse Dir »
  • Allow set*EncryptionParameters before filename iset (fixes #336)
    551dfbf6
    Jay Berkenbilt authored
    2019-06-22 20:57:33 -0400  
    Browse Dir »
  • Provide error message in Windows crypto code (fixes #286) ...
    7bd38a3e
    Thanks to github user zdenop for supplying some additional
    error-handling code.
    Jay Berkenbilt authored
    2019-06-22 17:12:01 -0400  
    Browse Dir »
  • In shippable code, favor smart pointers (fixes #235) ...
    6c39aa87
    Use PointerHolder in several places where manually memory allocation
    and deallocation were being used. This helps to protect against memory
    leaks when exceptions are thrown in surprising places.
    Jay Berkenbilt authored
    2019-06-22 16:57:52 -0400  
    Browse Dir »
  • qpdf: exit 3 for linearization warnings without errors (fixes #50)
    85a3f95a
    Jay Berkenbilt authored
    2019-06-22 16:57:51 -0400  
    Browse Dir »
  • Add QUtil::read_file_into_memory ...
    1bde5c68
    This code was essentially duplicated between test_driver and
    standalone_fuzz_target_runner.
    Jay Berkenbilt authored
    2019-06-22 10:14:25 -0400  
    Browse Dir »
  • QPDFWriter: clean up overloaded functions ...
    658b5bb3
    In a small number of cases, it makes sense to replace an overloaded
    function with a function that takes a default argument. We can do this
    now because we've already broken binary compatibility since the last
    release.
    Jay Berkenbilt authored
    2019-06-22 10:13:27 -0400  
    Browse Dir »
  • Convert remaining public classes to use Members pattern ...
    79f6b482
    Have classes contain only a single private member of type
    PointerHolder<Members>. This makes it safe to change the structure of
    the Members class without breaking binary compatibility. Many of the
    classes already follow this pattern quite successfully. This brings in
    the rest of the class that are part of the public API.
    Jay Berkenbilt authored
    2019-06-22 10:13:27 -0400  
    Browse Dir »

21 Jun, 2019
4 commits
  • Remove broken QPDFTokenizer::expectInlineImage
    45dac410
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Dir »
  • Remove QPDF::copyForeignObject with unused parameter
    25dd3c67
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Dir »
  • Rename QUtil::strcasecmp to QUtil::str_compare_nocase (fixes #242)
    c6cfd645
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Dir »
  • Add missing #include <cstring>
    848351f1
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Dir »