aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/atrac3.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-11 22:56:55 +0300
committerMartin Storsjö <martin@martin.st>2013-09-16 11:04:52 +0300
commit0ef1660a6365ce60ead8858936b6f3f8ea862826 (patch)
tree115a0a63e3c3e982dec2cba1c1d9d23aea6c9361 /libavcodec/atrac3.c
parent342c43d154e586bc022c86b168fe8d36f69da9d3 (diff)
downloadffmpeg-0ef1660a6365ce60ead8858936b6f3f8ea862826.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>
Diffstat (limited to 'libavcodec/atrac3.c')
0 files changed, 0 insertions, 0 deletions