diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-01-05 04:45:26 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 02:13:07 +0200 |
commit | 776c481eb902afa6f8fbb32582154b3f19feefb3 (patch) | |
tree | d241db28d3d4ee9f596811024de7b3c9d8d4e131 /libavcodec/rtjpeg.c | |
parent | 9ac17454a92b1be3362c9a5e7868fddc7a77b062 (diff) | |
download | ffmpeg-776c481eb902afa6f8fbb32582154b3f19feefb3.tar.gz |
avcodec/dvdsubdec: fix out of bounds accesses
The code blindly trusted buffer offsets read from the file in the RLE
decoder. Explicitly check the offset. Also error out on other RLE
decoding errors.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit c9151de7c42553bb145be608df8513c1287f1f24)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rtjpeg.c')
0 files changed, 0 insertions, 0 deletions