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
14 Jul, 2024
1 commit
  • Fix QPDFOutlineDocumentHelper::resolveNamedDest (fixes #1238) ...
    f3cbaafc
    Handle case where named destination is a dictionary with /D entry.
    
    Test case is hand-edited outlines-with-old-root-dests.pdf with modified
    object 107.
    m-holger authored
    2024-07-14 12:15:45 +0100  
    Browse Code »

13 Jul, 2024
1 commit
  • Refactor QPDFOutlineDocumentHelper::resolveNamedDest
    963574f2
    m-holger authored
    2024-07-13 11:34:02 +0100  
    Browse Code »

12 Jul, 2024
1 commit
  • Merge pull request #1239 from m-holger/fuzz ...
    f4e468b1
    Add further sanity check to QPDF::reconstruct_xref
    m-holger authored
    2024-07-12 00:00:20 +0100  
    Browse Code »

11 Jul, 2024
3 commits
  • Further limit size of uncompressed JPEG for fuzzing ...
    722148de
    Try a  limit of 50MB. For very large limits processing time before
    damage is encountered may exceed oss-fuzz limits.
    Add further test cases.
    m-holger authored
    2024-07-11 14:32:22 +0100  
    Browse Code »
  • Add further sanity check to QPDF::reconstruct_xref ...
    e914bbbb
    If reconstruct_xref generates more than 1000 warnings give up because the
    file is so severely damaged that there is very little point continuing.
    m-holger authored
    2024-07-11 13:25:07 +0100  
    Browse Code »
  • Merge pull request #1237 from m-holger/fuzz ...
    205bd6fb
    Add extra sanity check on pages tree
    m-holger authored
    2024-07-11 01:02:27 +0100  
    Browse Code »

10 Jul, 2024
2 commits
  • Add extra sanity check on pages tree ...
    c2c1618e
    Reject non-dictionary Page and Pages objects.
    
    Also add additional qpdf_fuzzer test cases.
    m-holger authored
    2024-07-10 19:03:23 +0100  
    Browse Code »
  • Merge pull request #1236 from m-holger/fuzz ...
    1ec5d3da
    Add additional xref reconstruction sanity checks and fuzz test cases
    m-holger authored
    2024-07-10 00:29:37 +0100  
    Browse Code »

09 Jul, 2024
5 commits
  • In Pl_DCT::decompress refactor handling of corrupt data ...
    2b6500ea
    If throw_on_corrupt is set, use a custom implementation of libjeg's
    emit_message procedure to throw an exception when the first corrupt data
    warning is encountered.
    m-holger authored
    2024-07-09 20:55:51 +0100  
    Browse Code »
  • Add additional fuzzer test cases ...
    7172dbd4
    Add test case for oss-fuzz 15471 and 69977a
    m-holger authored
    2024-07-09 17:17:10 +0100  
    Browse Code »
  • Add additional sanity check during xref reconstruction ...
    2e378d92
    Check that xref table is not empty after recovery. Empty xref tables
    disable other sanity checks.
    m-holger authored
    2024-07-09 17:01:44 +0100  
    Browse Code »
  • Fix QPDF::setSuppressWarnings
    7445e0ac
    m-holger authored
    2024-07-09 16:38:02 +0100  
    Browse Code »
  • Merge pull request #1234 from m-holger/dct_fuzz ...
    9ffa2014
    Fix Pl_DCT memory limit
    m-holger authored
    2024-07-09 00:46:14 +0100  
    Browse Code »

08 Jul, 2024
2 commits
  • Fix Pl_DCT memory limit
    43004e33
    m-holger authored
    2024-07-08 13:31:02 +0100  
    Browse Code »
  • Merge pull request #1233 from m-holger/fuzz ...
    55216955
    Add qpdf_fuzzer test case
    m-holger authored
    2024-07-08 00:22:51 +0100  
    Browse Code »

07 Jul, 2024
2 commits
  • Add qpdf_fuzzer test case
    e76d6682
    m-holger authored
    2024-07-07 23:58:18 +0100  
    Browse Code »
  • Merge pull request #1231 from m-holger/fuzz ...
    e9df7871
    In QPDF::processXRefIndex check number of objects in subsection is > 0
    m-holger authored
    2024-07-07 00:22:52 +0100  
    Browse Code »

06 Jul, 2024
2 commits
  • In QPDF::processXRefIndex check number of objects in subsection is > 0 ...
    c1cd3ec8
    Fixes oss-fuzz 70055
    m-holger authored
    2024-07-06 16:09:50 +0100  
    Browse Code »
  • Merge pull request #1230 from m-holger/clean-dct-fuzz-changes ...
    ce2deaf1
    Alternative clean dct fuzz changes
    m-holger authored
    2024-07-06 06:10:27 +0100  
    Browse Code »

05 Jul, 2024
2 commits
  • Ignore previous commit for git blame
    7d478651
    Jay Berkenbilt authored
    2024-07-05 13:29:19 -0400  
    Browse Code »
  • Normalize whitespace in ChangeLog
    d7b909f9
    Jay Berkenbilt authored
    2024-07-05 13:28:49 -0400  
    Browse Code »

04 Jul, 2024
2 commits
  • Add test case for self-referential object streams ...
    f0ded6bc
    Previous test case was lost in #1221. Test file was created from
    object-stream.pdf by adding a reference to itself into object stream 1 0.
    m-holger authored
    2024-07-04 20:40:47 +0100  
    Browse Code »
  • Treat corrupt JPEG streams as unfilterable
    edf3509b
    m-holger authored
    2024-07-04 17:06:42 +0100  
    Browse Code »

03 Jul, 2024
2 commits
  • Add setMaxWarnings rather than using conditional compilation
    598268f6
    Jay Berkenbilt authored
    2024-07-03 15:44:44 +0100  
    Browse Code »
  • Add DCT decompression config methods in favor of compile-time changes ...
    65bd8bc5
    As a rule, we should avoid conditional compilation is it always causes
    code paths that are sometimes not even seen lexically by the compiler.
    Also, we want the actual code being fuzzed to be as close as possible
    to the real code. Conditional compilation is suitable to handle
    underlying system differences.
    
    Instead, favor configuration using callbacks or other methods that can
    be triggered in the places where they need to be exercised.
    Jay Berkenbilt authored
    2024-07-03 15:43:38 +0100  
    Browse Code »

02 Jul, 2024
4 commits
  • Merge pull request #1228 from m-holger/fuzz7 ...
    b45e3420
    Add further sanity and loop detection checks
    m-holger authored
    2024-07-02 01:52:14 +0100  
    Browse Code »
  • In QPDF::resolveObjectsInStream avoid creating xref table entries ...
    a367e56a
    Invalid entries are created when objects in the stream do not have
    an existing xref entry.
    m-holger authored
    2024-07-02 01:16:23 +0100  
    Browse Code »
  • Add additional object id sanity checks ...
    6d640c56
    Ensure objects with impossibly large ids are ignored.
    m-holger authored
    2024-07-02 01:16:23 +0100  
    Browse Code »
  • Suppress excessive warnings while fuzzing ...
    42c51119
    Add extra fuzz test case and amend memory limit for Pl_DCT.
    m-holger authored
    2024-07-02 01:16:23 +0100  
    Browse Code »

30 Jun, 2024
2 commits
  • Merge pull request #1227 from m-holger/fuzz6 ...
    9081ac69
    Refine #1225
    m-holger authored
    2024-06-30 01:50:36 +0100  
    Browse Code »
  • Merge pull request #1226 from m-holger/fuzz5 ...
    09492eea
    In QPDFOutlineObjectHelper detect loops in direct children
    m-holger authored
    2024-06-30 01:50:16 +0100  
    Browse Code »

29 Jun, 2024
2 commits
  • Refine #1225
    18c52640
    m-holger authored
    2024-06-29 14:47:03 +0100  
    Browse Code »
  • In QPDFOutlineObjectHelper detect loops in direct children ...
    0a081e1f
    Also, add diagnostic messages in qpdf_fuzzer and additional fuzz test case.
    m-holger authored
    2024-06-29 12:38:07 +0100  
    Browse Code »

28 Jun, 2024
2 commits
  • Merge pull request #1225 from m-holger/fuzz4 ...
    975fae16
    Limit memory used for JPEG decompression during fuzzing
    m-holger authored
    2024-06-28 23:13:51 +0100  
    Browse Code »
  • Limit memory used for JPEG decompression during fuzzing
    c93b149b
    m-holger authored
    2024-06-28 21:15:45 +0100  
    Browse Code »

27 Jun, 2024
4 commits
  • Merge pull request #1224 from m-holger/fuzz3 ...
    6ed28804
    Fix #1170
    m-holger authored
    2024-06-27 08:47:42 +0100  
    Browse Code »
  • Merge pull request #1222 from m-holger/fuzz2 ...
    732aab86
    In PL_DCT add option to limit the size of uncompressed corrupt data
    m-holger authored
    2024-06-27 08:20:01 +0100  
    Browse Code »
  • Fix #1170 ...
    8ae3ef28
    In QPDF::read_xrefEntry add buffer overflow test for first eol character.
    Overlong f1 or f2 entries consisting only of zeros could cause a buffer
    overflow.
    
    Add fuzz testcase 69913.
    m-holger authored
    2024-06-27 08:17:58 +0100  
    Browse Code »
  • Merge pull request #1221 from m-holger/fuzz ...
    3d569e21
    Refine handling of severely damaged files
    m-holger authored
    2024-06-27 01:18:37 +0100  
    Browse Code »

26 Jun, 2024
1 commit
  • In PL_DCT add option to limit the size of uncompressed corrupt data ...
    d83cf438
    Also, apply limit in dct_fuzzer
    m-holger authored
    2024-06-26 11:57:29 +0100  
    Browse Code »