avcodec/snowdec: Fix integer overflow in decode_subband_slice_buffered()
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 27 Aug 2017 22:30:33 +0000 (00:30 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 17 Sep 2017 13:57:27 +0000 (15:57 +0200)
commit0e4612ea68261d84d47a15aa88210abfd0184850
tree76eaf00e00240a537695460aa4828cb7931dd8f0
parentf69905e2305b180086a240fb5a38862706922dc4
avcodec/snowdec: Fix integer overflow in decode_subband_slice_buffered()

Fixes: runtime error: signed integer overflow: 267 * 8388608 cannot be represented in type 'int'
Fixes: 2743/clusterfuzz-testcase-minimized-5820652076400640

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 732f9764561558a388c05483ed6a722a5c67b05c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/snowdec.c