diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-28 16:59:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-28 17:51:14 +0100 |
commit | f1c21a200bcbc9bbd54fc336016ac16c2e015012 (patch) | |
tree | 864fc4c7475566a47b226d6078011badd0f14e86 /libswresample | |
parent | 86e574928536ee5249d9cf4da9f5d8714611d706 (diff) | |
download | ffmpeg-f1c21a200bcbc9bbd54fc336016ac16c2e015012.tar.gz |
avformat/mvdec: Check size in read_table() for validity
This check is redundant with the previous commit but it provides
better error messages and feedback while the previous commit
ensures that var_read_string() doesnt return uninitialized arrays
if it itself is feeded with an invalid size possibly through a
different future codepath.
Fixes: asan_heap-oob_49b1e5_12_011.movie
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample')
0 files changed, 0 insertions, 0 deletions