diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-01-05 04:45:26 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-09 17:18:40 +0100 |
commit | e2e145db89913e86e9b8573b1b90f001c46dee5e (patch) | |
tree | 9516bab9279416ee47242adda288d31e1ece189b /libavcodec/dv_tablegen.c | |
parent | efdd30df06973d51131add3afbffab6841476c85 (diff) | |
download | ffmpeg-e2e145db89913e86e9b8573b1b90f001c46dee5e.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/dv_tablegen.c')
0 files changed, 0 insertions, 0 deletions