aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-11 22:47:06 +0300
committerLuca Barbato <lu_zero@gentoo.org>2014-01-07 09:43:56 +0100
commit486c45767587151b517bb6fde602d43d178da203 (patch)
tree66ce02a61aebe2eb50e50bc917a62b955258e3bc /libavcodec/qcelpdec.c
parentb81d804f2ac113a46d1736751401d78f998db56d (diff)
downloadffmpeg-486c45767587151b517bb6fde602d43d178da203.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> (cherry picked from commit f8a72f041c049e812dfa1f32156327e9778f5710)
Diffstat (limited to 'libavcodec/qcelpdec.c')
0 files changed, 0 insertions, 0 deletions