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
08 Feb, 2025
5 commits
  • Spell check
    5548b3bb
    Jay Berkenbilt authored
    2025-02-08 11:19:13 -0500  
    Browse Code »
  • Bump clang-format to version 20 and reformat ...
    38d8cc7f
    This improves indentation of long strings. This commit also fixes some
    trailing whitespace in ChangeLog.
    Jay Berkenbilt authored
    2025-02-08 11:17:57 -0500  
    Browse Code »
  • Merge pull request #1355 from m-holger/rs ...
    badcdf8f
    Draft release notes
    m-holger authored
    2025-02-08 15:25:40 +0000  
    Browse Code »
  • Draft release notes
    1350df64
    m-holger authored
    2025-02-08 13:41:02 +0000  
    Browse Code »
  • Merge pull request #1354 from m-holger/fuzz ...
    f348d300
    Refine QPDFParser error handling
    m-holger authored
    2025-02-08 00:05:53 +0000  
    Browse Code »

07 Feb, 2025
1 commit
  • Refine QPDFParser error handling ...
    8df3de5c
    Reduce the container size for which a single bad token will cause a failure
    from 100,000 to 5,000.
    
    Count missing dictionary keys as errors.
    m-holger authored
    2025-02-07 23:41:56 +0000  
    Browse Code »

06 Feb, 2025
2 commits
  • Merge pull request #1352 from m-holger/fuzz ...
    68e09577
    In Pl_RunLength apply memory limit before and after decoding
    m-holger authored
    2025-02-06 23:17:13 +0000  
    Browse Code »
  • In Pl_RunLength apply memory limit before and after decoding
    6883a9c8
    m-holger authored
    2025-02-06 19:57:30 +0000  
    Browse Code »

05 Feb, 2025
7 commits
  • Merge pull request #1350 from m-holger/fuzz ...
    466169d0
    Apply sanity checks on SF_FlateLzwDecode parameters
    m-holger authored
    2025-02-05 23:44:55 +0000  
    Browse Code »
  • Add sanity check for flate decode parameters ...
    1db68172
    If a flate memory limit is set, reject decode parameters that would cause
    the limit to be exceeded and treat stream as unfilterable.
    
    Fixes oss-fuzz issue 394463491
    m-holger authored
    2025-02-05 15:21:56 +0000  
    Browse Code »
  • Rename Pl_Flate::setMemoryLimit to memory_limit and add accessor
    b0e34486
    m-holger authored
    2025-02-05 13:23:27 +0000  
    Browse Code »
  • In SF_FlateLzwDecode::setDecodeParms return early on failure ...
    a496dbe8
    The stream filter is only used if the stream is filterable, therefore
    there is no point continuing to set decode parameters once it is recognized
    that the stream is not filterable.
    m-holger authored
    2025-02-05 13:01:39 +0000  
    Browse Code »
  • Code tidy SF_FlateLzwDecode
    a8631e25
    m-holger authored
    2025-02-05 12:32:52 +0000  
    Browse Code »
  • Remove 'this->' in SF_FlateLzwDecode.cc
    2b470ff7
    m-holger authored
    2025-02-05 11:58:46 +0000  
    Browse Code »
  • Merge pull request #1349 from m-holger/fuzz ...
    f5cac93a
    Fix bugs found during fuzzing
    m-holger authored
    2025-02-05 00:09:35 +0000  
    Browse Code »

04 Feb, 2025
4 commits
  • Refine QPDFParser error handling ...
    43fa1b27
    Fail if a bad token is encountered while parsing an array or dictionary
    with more than 100,000 elements.
    
    Fixes oss-fuzz case 388571629.
    m-holger authored
    2025-02-04 15:08:55 +0000  
    Browse Code »
  • Limit memory usage of Pl_Runlength during fuzzing ...
    671b6e2e
    Fixes oss-fuzz case 394129398.
    
    Issue arose from chaining multiple runlength filters and inflating a
    compressed stream of ~100 bytes to several gigabytes.
    
    There is no obvious fix without imposing an arbitrary implementation limit
    and therefore potentially excluding valid PDF files.
    m-holger authored
    2025-02-04 15:08:55 +0000  
    Browse Code »
  • Merge pull request #1346 from jberkenbilt/zopfli ...
    ad3ecadf
    Add zopfli support
    Jay Berkenbilt authored
    2025-02-04 07:09:16 -0500  
    Browse Code »
  • Add zopfli support (fixes #1323) ...
    133da3b6
    This requires a special build option.
    Jay Berkenbilt authored
    2025-02-04 06:17:34 -0500  
    Browse Code »

03 Feb, 2025
6 commits
  • Merge pull request #1345 from jberkenbilt/fix-qdf-output-file ...
    0ddc4abd
    Fix qdf output file
    Jay Berkenbilt authored
    2025-02-03 08:25:16 -0500  
    Browse Code »
  • fix-qdf: accept optional output file (fixes #1330)
    a2fc5b52
    Jay Berkenbilt authored
    2025-02-03 06:42:22 -0500  
    Browse Code »
  • fix-qdf: replace hard-coded std::cout with member variable
    9cf96201
    Jay Berkenbilt authored
    2025-02-03 06:42:22 -0500  
    Browse Code »
  • Merge pull request #1348 from m-holger/pr1347 ...
    a5cab082
    jidanni cli.rst update
    m-holger authored
    2025-02-03 10:51:59 +0000  
    Browse Code »
  • Run generate_auto_jobs with #1347
    e793abe3
    m-holger authored
    2025-02-03 10:17:49 +0000  
    Browse Code »
  • Update cli.rst adding vital "PDF" words ...
    22dacf7b
    (So folks working offline won't go for hours dreaming they can overlay *.txt files, until after the finish writing the txt file, and try it, and it doesn't work.)
    積丹尼 Dan Jacobson authored
    2025-02-03 08:33:02 +0800  
    Browse Code »

02 Feb, 2025
10 commits
  • Merge pull request #1341 from m-holger/hc ...
    756b5e30
    Update copyrights
    m-holger authored
    2025-02-02 23:59:17 +0000  
    Browse Code »
  • Update various 'QPDF's to 'qpdf'
    e9887aaa
    m-holger authored
    2025-02-02 22:24:19 +0000  
    Browse Code »
  • Update copyrights
    c7a47caf
    m-holger authored
    2025-02-02 22:24:19 +0000  
    Browse Code »
  • Merge pull request #1344 from m-holger/fuzz ...
    542a4282
    Fix bugs found during fuzzing
    m-holger authored
    2025-02-02 22:21:33 +0000  
    Browse Code »
  • Fix QPDFOutlineObjectHelper loop detectection ...
    70f7af78
    Check for direct outline items.
    
    Fixes oss-fuzz case 	389339260.
    m-holger authored
    2025-02-02 21:52:47 +0000  
    Browse Code »
  • In Pl_ASCII85Decoder do not run finish after a runtime_error ...
    7a2ef592
    Fixes oss-fuzz cases 376305073, 389974979 and 391974927.
    m-holger authored
    2025-02-02 21:52:47 +0000  
    Browse Code »
  • Merge pull request #1343 from m-holger/i1335a ...
    e324d36b
    Refine xref reconstruction (fixes #1335)
    m-holger authored
    2025-02-02 21:48:45 +0000  
    Browse Code »
  • Refine xref reconstruction (fixes #1335) ...
    ca3ea2e3
    When recovering XRef streams, start with the stream with the largest
    /Size rather than the largest offset.
    
    Also, if reconstruction fails to find a trailer with a valid /Root entry
    search for a root object.
    m-holger authored
    2025-02-02 21:14:08 +0000  
    Browse Code »
  • Merge pull request #1340 from m-holger/i1286 ...
    aa583f29
    Change QPDFWriter stream_decode_level default to qpdf_dl_generalized (fixes #1286)
    m-holger authored
    2025-02-02 21:03:04 +0000  
    Browse Code »
  • Merge pull request #1342 from m-holger/i1329 ...
    d9e230bf
    CLI reject flags with parameters (fixes #1329)
    m-holger authored
    2025-02-02 13:14:27 +0000  
    Browse Code »

01 Feb, 2025
1 commit
  • CLI reject flags with parameters (fixes #1329)
    985cdf91
    m-holger authored
    2025-02-01 12:34:57 +0000  
    Browse Code »

31 Jan, 2025
4 commits
  • Merge pull request #1266 from m-holger/ostream ...
    1d8dc489
    Add new object stream test case
    m-holger authored
    2025-01-31 20:10:27 +0000  
    Browse Code »
  • Add new object stream test case ...
    c026b511
    Exercise stream containing objects with no white-space between them.
    m-holger authored
    2025-01-31 19:22:06 +0000  
    Browse Code »
  • In QPDFWriter::generateID change empty deterministic_id_data to a ...
    e7dcbe93
    runtime error
    m-holger authored
    2025-01-31 16:52:31 +0000  
    Browse Code »
  • Change QPDFWriter stream_decode_level default to qpdf_dl_generalized ...
    718b1400
    Also, fix disabling of preserve_encryption to be ignore
    stream_decode_level, but disable preserve_encryption if compress_streams is
    false.
    
    Fixes #1286
    m-holger authored
    2025-01-31 16:09:07 +0000  
    Browse Code »