diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-02-12 21:30:08 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-07-02 19:55:09 +0200 |
commit | 5e4238c3fd5f00df72766db772a77923b531c475 (patch) | |
tree | 7a845c62e43fa96637d8b4f64b5105fe6812db99 /libavcodec/x86/h264_chromamc.asm | |
parent | 68ecaacbac77c2fe80f5bebfa11445f982fe7492 (diff) | |
download | ffmpeg-5e4238c3fd5f00df72766db772a77923b531c475.tar.gz |
avcodec/adpcm: Fix integer overflow in ADPCM THP
The reference (thp.txt) uses floats so wrap around would seem incorrect.
Fixes: signed integer overflow: 1073741824 + 1073741824 cannot be represented in type 'int'
Fixes: 20658/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_THP_fuzzer-5646302555930624
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 b12b05374f7025167e2c43449ceb8ba3f0a6083f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/x86/h264_chromamc.asm')
0 files changed, 0 insertions, 0 deletions