diff options
author | Martin Storsjö <martin@martin.st> | 2013-09-16 21:27:49 +0300 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-10-04 03:26:27 +0200 |
commit | 00516b5491fbd99e4057f21eae231fc02cc596e3 (patch) | |
tree | 64ef13ad2213ce40dcd56bba47c294cdd7ed3c26 /LICENSE | |
parent | 3706c229920115f022876ef07b16217dce504db6 (diff) | |
download | ffmpeg-00516b5491fbd99e4057f21eae231fc02cc596e3.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>
(cherry picked from commit d4c2a3740fb95f952a87ba320d2bf31f126bdf68)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions