diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-11 22:47:06 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-10-03 20:29:34 +0200 |
commit | f8a72f041c049e812dfa1f32156327e9778f5710 (patch) | |
tree | ac3f1c89d8870b000db29db65600626c23108987 /libavcodec/ass.c | |
parent | 9e505065b55f9b252d9faa9700f911c6a655a543 (diff) | |
download | ffmpeg-f8a72f041c049e812dfa1f32156327e9778f5710.tar.gz |
mpc8: Check the seek table size parsed from the bitstream
Limit the size to INT_MAX/2 (for simplicity) to be sure that
size + FF_INPUT_BUFFER_PADDING_SIZE won't overflow.
Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 459f2b393a3f89ed08d10fbceb4738d1429f268e)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/ass.c')
0 files changed, 0 insertions, 0 deletions