aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ra288.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-16 21:27:49 +0300
committerMartin Storsjö <martin@martin.st>2013-09-17 20:09:25 +0300
commitd4c2a3740fb95f952a87ba320d2bf31f126bdf68 (patch)
tree53ff41ce5ffe9bd6f55ef3e3bb65fe1ce2c08537 /libavcodec/ra288.h
parentdc4acc820076b2149ef6c921bdabe05d07ca1bc6 (diff)
downloadffmpeg-d4c2a3740fb95f952a87ba320d2bf31f126bdf68.tar.gz
xmv: Add more sanity checks for parameters read from the bitstream
Since the number of channels is multiplied by 36 and assigned to to a uint16_t, make sure this calculation didn't overflow. (In certain cases the calculation could overflow leaving the truncated block_align at 0, leading to divisions by zero later.) 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/ra288.h')
0 files changed, 0 insertions, 0 deletions