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
22 Jun, 2019
4 commits
  • 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 Code »
  • 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 Code »
  • Use clang for sanitizers ...
    46304bef
    Clang seems to be slightly stricter than gcc.
    Jay Berkenbilt authored
    2019-06-22 10:13:27 -0400  
    Browse Code »
  • 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 Code »

21 Jun, 2019
27 commits
  • Build with -fvisibility=hidden when supported
    864a546a
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • configure: add missing checking messages
    97833d7c
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • Remove unused gcc-linux make rules ...
    ade8e2cd
    I don't want to maintain them or make anyone think they should be used.
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • Remove broken QPDFTokenizer::expectInlineImage
    45dac410
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • Remove QPDF::copyForeignObject with unused parameter
    25dd3c67
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • Rename QUtil::strcasecmp to QUtil::str_compare_nocase (fixes #242)
    c6cfd645
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • Fix up TODO for ABI changes
    bd8918ff
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • Add missing #include <cstring>
    848351f1
    Jay Berkenbilt authored
    2019-06-21 22:29:31 -0400  
    Browse Code »
  • Mention QIntC in README-Maintainer
    83b3c341
    Jay Berkenbilt authored
    2019-06-21 22:04:45 -0400  
    Browse Code »
  • Update qpdf_fuzzer to increase coverage
    793d987b
    Jay Berkenbilt authored
    2019-06-21 17:56:24 -0400  
    Browse Code »
  • 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 Code »
  • Fix bounds error in utf16_to_utf8 conversion
    a35d4ce9
    Jay Berkenbilt authored
    2019-06-21 17:40:24 -0400  
    Browse Code »
  • Clean up fuzzer installation and add test files ...
    23207143
    * Create the seed corpus in the build directory
    * Don't assume all fuzzers share an options file
    Jay Berkenbilt authored
    2019-06-21 17:39:53 -0400  
    Browse Code »
  • Add smaller image streams file for testing
    ed7f2a6c
    Jay Berkenbilt authored
    2019-06-21 17:39:53 -0400  
    Browse Code »
  • Re-enable fuzzer testing in Windows
    2c81eec4
    Jay Berkenbilt authored
    2019-06-21 17:32:35 -0400  
    Browse Code »
  • Remove integer type task from TODO
    1763957c
    Jay Berkenbilt authored
    2019-06-21 13:17:45 -0400  
    Browse Code »
  • Update casting policy in the documentation
    6fca2799
    Jay Berkenbilt authored
    2019-06-21 13:17:45 -0400  
    Browse Code »
  • Enable int warnings by default ...
    cc2e8853
    Now that there aren't any more...
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • Remove implicit conversion from int/pointer to bool ...
    63a643a3
    This fixes cases of warning C4800 from msvc
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • Fix sign and conversion warnings (major) ...
    d71f05ca
    This makes all integer type conversions that have potential data loss
    explicit with calls that do range checks and raise an exception. After
    this commit, qpdf builds with no warnings when -Wsign-conversion
    -Wconversion is used with gcc or clang or when -W3 -Wd4800 is used
    with MSVC. This significantly reduces the likelihood of potential
    crashes from bogus integer values.
    
    There are some parts of the code that take int when they should take
    size_t or an offset. Such places would make qpdf not support files
    with more than 2^31 of something that usually wouldn't be so large. In
    the event that such a file shows up and is valid, at least qpdf would
    raise an error in the right spot so the issue could be legitimately
    addressed rather than failing in some weird way because of a silent
    overflow condition.
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • Pl_Flate: constructor's out_bufsize is now unsigned int ...
    f40ffc9d
    This is the type we need for the underlying zlib implementation.
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • Change QPDFObjectHandle::pipeStreamData's encode_flags type ...
    da30764b
    Change from unsigned long to int since we pass enumerated type values
    to this field.
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • Add new integer accessors to QPDFObjectHandle
    3608afd5
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • QUtil: add unsigned int/string functions
    42306e2f
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • New safe type converters in QIntC
    a66828ca
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • Add 32-bit Linux build to CI
    bdf29ca3
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »
  • configure: determine wordsize automatically ...
    21558152
    Based on sizeof(size_t). Assumes 64 if not 32.
    Jay Berkenbilt authored
    2019-06-21 13:17:21 -0400  
    Browse Code »

20 Jun, 2019
2 commits
  • configure: add --enable-int-warnings
    f562d494
    Jay Berkenbilt authored
    2019-06-20 23:42:27 -0400  
    Browse Code »
  • 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 Code »

18 Jun, 2019
3 commits
  • Fix typo in doc for configure
    e3129ef4
    Jay Berkenbilt authored
    2019-06-18 09:20:38 -0400  
    Browse Code »
  • TODO
    bbabbc20
    Jay Berkenbilt authored
    2019-06-18 08:44:10 -0400  
    Browse Code »
  • Remove qpdf_read_memory_fuzzer
    616ae155
    Jay Berkenbilt authored
    2019-06-18 08:43:55 -0400  
    Browse Code »

15 Jun, 2019
4 commits
  • Run tests with sanitizers in CI
    127859a6
    Jay Berkenbilt authored
    2019-06-15 17:24:24 -0400  
    Browse Code »
  • 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 Code »
  • Populate seed corpus
    e2c77bab
    Jay Berkenbilt authored
    2019-06-15 17:24:24 -0400  
    Browse Code »
  • Add corpus from previous fuzzer ...
    9d310374
    This is the set of files from the latest corpus of running the older
    fuzzer (qpdf_read_memory_fuzzer) at the time of adding the new fuzzer
    (qpdf_fuzzer) after running a merge operation to minimize the corpus.
    Jay Berkenbilt authored
    2019-06-15 17:24:24 -0400  
    Browse Code »