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
  • qpdf
  • qtest
09 Nov, 2019
1 commit
  • Allow /P in encryption dictionary to be positive (fixes #382) ...
    5508f746
    Even though this is disallowed by the spec, files like this have been
    encountered in the wild.
    Jay Berkenbilt authored
    2019-11-09 12:33:15 -0500  
    Browse Dir »

22 Oct, 2019
6 commits
  • Parse Contents in signature dictionary without encryption ...
    5a842792
    Various PDF digital signing tools do not encrypt /Contents value in
    signature dictionary. Adobe Acrobat Reader DC can handle a PDF with
    the /Contents value not encrypted.
    
    Write Contents in signature dictionary without encryption
    
    Tests ensure that string /Contents are not handled specially when not
    found in sig dicts.
    Masamichi Hosoda authored
    2019-10-22 16:20:21 -0400  
    Browse Dir »
  • Add QPDFObject::getParsedOffset()
    cdc46d78
    Masamichi Hosoda authored
    2019-10-22 16:19:06 -0400  
    Browse Dir »
  • Add QPDFWriter::getRenumberedObjGen()
    5cf4090a
    Masamichi Hosoda authored
    2019-10-22 16:16:16 -0400  
    Browse Dir »
  • Add QPDF::getXRefTable()
    46ac3e21
    Masamichi Hosoda authored
    2019-10-22 16:16:16 -0400  
    Browse Dir »
  • Exclude signature dictionary from compressible objects ...
    06b818dc
    It seems better not to compress signature dictionaries. Various PDF
    digital signing tools, including Adobe Acrobat Reader DC, do not
    compress signature dictionaries.
    
    Table 8.93 "Entries in a signature dictionary" in PDF 1.5 reference
    describes that /ByteRange in the signature dictionary shall be used to
    describe a digest that does not include the signature value
    (/Contents) itself.
    
    The byte ranges cannot be determined if the dictionary is compressed.
    Masamichi Hosoda authored
    2019-10-22 16:16:16 -0400  
    Browse Dir »
  • Fix /Contents value representation in a signature dictionary ...
    5e0ba126
    Table 8.93 "Entries in a signature dictionary" in PDF 1.5 reference
    describes that the value of Contents entry is a hexadecimal string
    representation when ByteRange is specified.
    
    This commit makes QPDF always uses hexadecimal strings representation
    instead of literal strings for it.
    Masamichi Hosoda authored
    2019-10-22 16:16:16 -0400  
    Browse Dir »

12 Oct, 2019
1 commit
  • Make --replace-input work with / in path (fixes #365)
    e188d0ff
    Jay Berkenbilt authored
    2019-10-12 19:27:50 -0400  
    Browse Dir »

19 Sep, 2019
2 commits
  • Correct reversed Rectangle coordinates (fixes #363)
    685250d7
    Jay Berkenbilt authored
    2019-09-19 21:25:34 -0400  
    Browse Dir »
  • Warn for duplicated dictionary keys (fixes #345)
    8b1e3077
    Jay Berkenbilt authored
    2019-09-19 20:22:34 -0400  
    Browse Dir »

31 Aug, 2019
1 commit
  • Add --replace-input option (fixes #321)
    d492bb0a
    Jay Berkenbilt authored
    2019-08-31 15:51:21 -0400  
    Browse Dir »

28 Aug, 2019
1 commit
  • Detect stream in object stream, fixing fuzz 16214 ...
    47a38a94
    It's detected in QPDFWriter instead of at parse time because I can't
    figure out how to construct a test case in a reasonable time. This
    commit moves the fuzz file into the regular test suite for a QTC
    coverage case.
    Jay Berkenbilt authored
    2019-08-28 12:49:04 -0400  
    Browse Dir »

27 Aug, 2019
1 commit
  • Fix fuzz issue 15387 (overflow checking xref size)
    ac5e6de2
    Jay Berkenbilt authored
    2019-08-27 11:26:25 -0400  
    Browse Dir »

24 Aug, 2019
1 commit
  • Include password match information in show encryption
    9ebb55af
    Jay Berkenbilt authored
    2019-08-24 11:01:19 -0400  
    Browse Dir »

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

22 Aug, 2019
3 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 »

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
1 commit
  • Attempt to repair /Type key in pages nodes (fixes #349)
    d9dd99ec
    Jay Berkenbilt authored
    2019-08-18 18:54:37 -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
3 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 »
  • qpdf: exit 3 for linearization warnings without errors (fixes #50)
    85a3f95a
    Jay Berkenbilt authored
    2019-06-22 16:57:51 -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 »
  • Fix bugs found by fuzz tests ...
    b07ad679
    * Several assertions in linearization were not always true; change
      them to run time errors
    * Handle a few cases of uninitialized objects
    * Handle pages with no contents when doing form operations
    * Handle invalid page tree nodes when traversing pages
    Jay Berkenbilt authored
    2019-06-21 17:56:24 -0400  
    Browse Dir »
  • Add smaller image streams file for testing
    ed7f2a6c
    Jay Berkenbilt authored
    2019-06-21 17:39:53 -0400  
    Browse Dir »
  • Add new integer accessors to QPDFObjectHandle
    3608afd5
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Dir »

20 Jun, 2019
1 commit
  • Appearance streams: some floating point values were truncated ...
    713d9619
    Bounding box X coordinates could be truncated, causing them to be off
    by a fraction of a point. This was most likely not visible, but it was
    still wrong.
    Jay Berkenbilt authored
    2019-06-20 21:32:30 -0400  
    Browse Dir »

15 Jun, 2019
3 commits
  • As a test suite, run stand-alone fuzzer on seed corpus ...
    bcfa4079
    Temporarily skip fuzz tests on Windows. There are Windows-specific
    failures to address later.
    Jay Berkenbilt authored
    2019-06-15 17:24:24 -0400  
    Browse Dir »
  • Add test files from oss-fuzz bugs (fixes #335)
    320702c0
    Jay Berkenbilt authored
    2019-06-15 17:24:24 -0400  
    Browse Dir »
  • Give up reading objects with too many consecutive errors
    cf469d78
    Jay Berkenbilt authored
    2019-06-15 08:52:19 -0400  
    Browse Dir »

09 Jun, 2019
2 commits
  • Commit forgotten test files
    3a180a05
    Jay Berkenbilt authored
    2019-06-09 18:11:37 -0400  
    Browse Dir »
  • Handle empty DecodeParams array for (fixes #331) ...
    31bde2f9
    On read, ignore /DecodeParms when empty list; on write, delete it.
    Some files have been found that include an empty list for
    /DecodeParms, but this is not technically compliant with the spec, and
    the only sensible interpretation is to treat it as if there are no
    decode parameters.
    Jay Berkenbilt authored
    2019-06-09 17:19:49 -0400  
    Browse Dir »

27 Apr, 2019
2 commits
  • Improve Unicode filename testing ...
    03e27709
    Remove dependency on the behavior of perl for reliable creation of
    Unicode file names on Windows.
    Jay Berkenbilt authored
    2019-04-27 20:37:33 -0400  
    Browse Dir »
  • Remove stray comment
    7ff234a9
    Jay Berkenbilt authored
    2019-04-27 20:37:33 -0400  
    Browse Dir »

20 Apr, 2019
1 commit
  • Compare versions between CLI and library
    12b15911
    Jay Berkenbilt authored
    2019-04-20 21:00:43 -0400  
    Browse Dir »