summaryrefslogtreecommitdiff
path: root/libavcodec/mlz.c
Commit message (Collapse)AuthorAge
* avcodec/alsdec, mlz: Check allocationAndreas Rheinhardt2022-02-18
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Replace all occurences of av_mallocz_array() by av_calloc()Andreas Rheinhardt2021-09-20
| | | | | | | They do the same. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* mlz: limit next_code to data buffer sizeAndreas Cadhalpun2016-11-15
| | | | | | | This fixes a heap-buffer-overflow detected by AddressSanitizer. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* avcodec/mlz: Check output chars before using itMichael Niedermayer2016-09-21
| | | | | | Fixes hypothetical integer overflow Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mlz: Check offset before writingMichael Niedermayer2016-09-08
| | | | | | | | Fixes: 0cee183a09bff5aa5108429717c35a4d/asan_heap-oob_1d99eca_3702_9ef60e80de79082a778d3d9ce8ef3b64.mp4 Affects no release Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/mlz: clear dict on allocation to ensure there are no uninitialized ↵Michael Niedermayer2016-09-08
| | | | | | values Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec: Implement masked lz decompressionUmair Khan2016-08-22
Signed-off-by: Umair Khan <omerjerk@gmail.com>