aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cbs_mpeg2.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-07-26 15:37:30 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2019-09-04 20:26:35 +0200
commitebc43bef1fc6b2ebccb57385a0ef0376be4804bc (patch)
treed74b20c1097227ae61a84c2a7cbc624600f75d90 /libavcodec/cbs_mpeg2.c
parent7e9bb72dd6eec7b5aead2fdb0d3ecea2df2029e4 (diff)
downloadffmpeg-ebc43bef1fc6b2ebccb57385a0ef0376be4804bc.tar.gz
avcodec/alsdec: Fix integer overflows of raw_samples in decode_var_block_data()
This also makes the code consistent with the existing similar MUL64() in decode_var_block_data() Fixes: signed integer overflow: -7277630735906765035 + -3272193951413647896 cannot be represented in type 'long' Fixes: 16015/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-5666552818434048 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 fad3ec89b7a664b93b5e29bdb0db0cab0272a0c4) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cbs_mpeg2.c')
0 files changed, 0 insertions, 0 deletions