summaryrefslogtreecommitdiffstats
path: root/libavformat/concat.c
diff options
context:
space:
mode:
authorMartin Storsjö <[email protected]>2013-09-16 21:27:49 +0300
committerMartin Storsjö <[email protected]>2013-09-17 20:09:25 +0300
commitd4c2a3740fb95f952a87ba320d2bf31f126bdf68 (patch)
tree53ff41ce5ffe9bd6f55ef3e3bb65fe1ce2c08537 /libavformat/concat.c
parentdc4acc820076b2149ef6c921bdabe05d07ca1bc6 (diff)
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: [email protected] Signed-off-by: Martin Storsjö <[email protected]>
Diffstat (limited to 'libavformat/concat.c')
0 files changed, 0 insertions, 0 deletions