diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-10-02 23:17:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-10-03 02:25:22 +0200 |
commit | 3f9a148022ef0473e96d75add7f04a3e020ebbaa (patch) | |
tree | 64f570af1f063cc645a6c2cd9fd6f34ecb653b84 /libavformat/assenc.c | |
parent | 8622618839c6fc9a3e2f8fcd3889bfce79fbb762 (diff) | |
download | ffmpeg-3f9a148022ef0473e96d75add7f04a3e020ebbaa.tar.gz |
avcodec/jpeglsdec: Check run value more completely in ls_decode_line()
previously it could have been by 1 too large
Fixes out of array access
Fixes: asan_heap-oob_12240f5_1_asan_heap-oob_12240f5_448_t8c1e3.jls
Fixes: asan_heap-oob_12240f5_1_asan_heap-oob_12240f5_448_t8nde0.jls
Fixes: asan_heap-oob_12240fa_1_asan_heap-oob_12240fa_448_t16e3.jls
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 06e7d58410a17dc72c30ee7f3145fcacc425f4f2)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/assenc.c')
0 files changed, 0 insertions, 0 deletions