diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-02-16 23:08:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-08 15:32:44 +0100 |
commit | 3a893335bde2d4ba2fcd839df09afb2b95779856 (patch) | |
tree | 62c3d17a43c12fc7d9293e15415a8ba0e39fc059 /libavcodec/xsubdec.c | |
parent | 12770701856a05b6b3cd706f708f8e9a4e8a1336 (diff) | |
download | ffmpeg-3a893335bde2d4ba2fcd839df09afb2b95779856.tar.gz |
avcodec/msrle: use av_image_get_linesize() to calculate the linesize
Fixes out of array access
Fixes: 14a74a0a2dc67ede543f0e35d834fbbe-asan_heap-oob_49572c_556_cov_215466444_44_001_engine_room.mov
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c919e1ca2ecfc47d796382973ba0e48b8f6f92a2)
Conflicts:
libavcodec/msrle.c
(cherry picked from commit bc1c8ec5e65098fd2ccd8456f667151dfc9cda42)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/xsubdec.c')
0 files changed, 0 insertions, 0 deletions