diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-04 18:16:08 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:46 +0200 |
commit | b06c67cbf329d02321a18a47d44adf834c056ee5 (patch) | |
tree | 4995764b9f5450d834b377e86e3cb83c4bc1c246 /libavcodec/bmp.c | |
parent | c21933835b4bb9294cefb8b940fd4da83a11fd33 (diff) | |
download | ffmpeg-b06c67cbf329d02321a18a47d44adf834c056ee5.tar.gz |
avcodec/g2meet: Change order of operations to avoid undefined behavior
Fixes: signed integer overflow: 65280 * 196032 cannot be represented in type 'int'
Fixes: 7279/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-5977332473921536
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 0a4745145840d97619c424961c1b5c625dbf516c)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/bmp.c')
0 files changed, 0 insertions, 0 deletions