summaryrefslogtreecommitdiff
path: root/libavcodec/mlz.c
Commit message (Collapse)AuthorAge
* 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>