aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regression-funcs.sh
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-11 22:56:55 +0300
committerLuca Barbato <lu_zero@gentoo.org>2014-01-07 09:43:56 +0100
commitb9e90b36cd3b87298b524330640818411b5ff45e (patch)
treec5443b05bebd4278f03869eeecd0453e37532727 /tests/regression-funcs.sh
parent7981b5c20e614e792967f17d09cf1adfb07ae254 (diff)
downloadffmpeg-b9e90b36cd3b87298b524330640818411b5ff45e.tar.gz
sierravmd: Do sanity checking of frame sizes
Limit the size to INT_MAX/2 (for simplicity) to be sure that size + BYTES_PER_FRAME_RECORD won't overflow. Also factorize other existing error return paths. 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 0ef1660a6365ce60ead8858936b6f3f8ea862826) Signed-off-by: Luca Barbato <lu_zero@gentoo.org> (cherry picked from commit 153deed18bed43d16b272e8681b2a9b988d2682a)
Diffstat (limited to 'tests/regression-funcs.sh')
0 files changed, 0 insertions, 0 deletions