summaryrefslogtreecommitdiff
path: root/poppler/JBIG2Stream.cc
AgeCommit message (Expand)AuthorFilesLines
2024-01-25Update (C)Albert Astals Cid1-0/+1
2024-01-25Fix small oversight from b8de1a191Nelson Benítez León1-0/+1
2022-09-06JBIG2Stream::readPatternDictSeg: Protect against some overflowAlbert Astals Cid1-1/+13
2022-08-25JBIG2Stream: Fix crash on broken fileAlbert Astals Cid1-1/+5
2022-08-19JBIG2Stream::readHalftoneRegionSeg: Fix potential memory leakAlbert Astals Cid1-8/+3
2022-07-29JBIG2Stream: Fix crash on broken filesAlbert Astals Cid1-0/+4
2022-05-08JBIGStream: Fix unint memory read on broken filesAlbert Astals Cid1-0/+3
2022-04-08MSVC: type warning fixesAlbert Astals Cid1-7/+6
2022-03-11Add readability-braces-around-statementsAlbert Astals Cid1-9/+18
2021-10-26Fix crash in malformed filesAlbert Astals Cid1-1/+3
2021-08-27CI: Enable google-explicit-constructorAlbert Astals Cid1-2/+2
2021-08-26Update (C)Albert Astals Cid1-1/+1
2021-08-22JBIG2Stream.cc: use gmallocn_checkoverflow() instead of gmallocn()Even Rouault1-5/+21
2021-08-21Revert 73a236b23de3c0337bed0f89cb713c7831e2ad05Albert Astals Cid1-21/+5
2021-08-21JBIG2Stream.cc: use gmallocn_checkoverflow() instead of gmallocn()Even Rouault1-5/+21
2021-07-05JBIG2Stream: Fix regression caused by 2b2808719d2c91283ae358381391bb0b37d9061dAlbert Astals Cid1-7/+13
2021-07-01JBIG2Stream: Do not abort if size-0 allocations returns nullptrOliver Sander1-1/+2
2021-05-14Mark two Stream::isFoo functions as constAlbert Astals Cid1-1/+1
2021-02-20Fix memory leak in broken file in JBIG2Stream::readGenericBitmapAlbert Astals Cid1-0/+1
2021-01-07JBIG2Stream: Protect against yet another potential overflowAlbert Astals Cid1-1/+4
2021-01-06JBIG2Stream::readTextRegion: Fix yet another potential integer overflowAlbert Astals Cid1-1/+3
2021-01-04JBIG2Stream::readSymbolDictSeg: Return early if one of the bitmaps is nullAlbert Astals Cid1-1/+5
2021-01-03JBIG2Stream: Store segments as std::unique_ptrsOliver Sander1-77/+48
2021-01-02JBIG2Stream: Don't allocate codeTables on the heapOliver Sander1-39/+28
2021-01-01Update (C)Albert Astals Cid1-1/+1
2021-01-01JBIG2Stream: Fix byte countingOliver Sander1-40/+43
2020-12-30Fix regression in JBIG2Stream.ccOliver Sander1-3/+2
2020-12-29JBIG2Stream: Do not allocate std::vector objects on the heapOliver Sander1-28/+22
2020-12-27Fix integer overflow with broken filesAlbert Astals Cid1-1/+3
2020-12-19Update (C)Albert Astals Cid1-1/+1
2020-12-19JBIG2Reader: Handle segment type 51 ('end of file')Oliver Sander1-1/+6
2020-12-19JBIG2Reader: Fix binary constantOliver Sander1-1/+1
2020-12-17Fix integer overflow on broken filesAlbert Astals Cid1-1/+7
2020-11-18JBIG2Stream::readTextRegion: Fix integer overflow on broken filesAlbert Astals Cid1-1/+3
2020-11-16JBIG2Stream::readCodeTableSeg: More overflow protection in broken filesAlbert Astals Cid1-1/+4
2020-11-15JBIG2Stream::readSymbolDictSeg: Return early if one of the bitmaps is nullAlbert Astals Cid1-0/+4
2020-11-15JBIG2Stream::readTextRegion: Make bitmap an unique_ptrAlbert Astals Cid1-15/+4
2020-11-15Remove #if that was confusing clang-formatAlbert Astals Cid1-128/+129
2020-11-11JBIG2Stream::readTextRegion: Prevent integer overflow on broken filesAlbert Astals Cid1-1/+4
2020-10-29clang: Warn about weak-vtablesAlbert Astals Cid1-2/+4
2020-09-01Fix memory leak introduced in 9e853438c5e9d56c07141220f2b30d7215ee9278Albert Astals Cid1-0/+1
2020-08-11Update (C)Albert Astals Cid1-1/+1
2020-08-09JBIG2: avoid potential undefined bit-wise shiftEven Rouault1-0/+3
2020-08-09JBIG2: avoid abort() on large memory allocationEven Rouault1-4/+21
2020-07-03Run clang-formatAlbert Astals Cid1-3881/+3644
2020-07-03Tweak code that clang-format doesn't understandAlbert Astals Cid1-1/+2
2019-12-03Fix calling a function on a null pointerAlbert Astals Cid1-13/+10
2019-12-03Enable modernize-loop-convertAlbert Astals Cid1-6/+2
2019-12-02enable modernize-use-bool-literalsAlbert Astals Cid1-6/+6
2019-12-02Enable modernize-use-overrideAlbert Astals Cid1-4/+4