diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2022-02-08 00:43:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-03-28 23:11:36 +0200 |
commit | 8e68f7f7ba55393bcd25c8ddd1c77dd47e081474 (patch) | |
tree | 60da4c4f7ebf1608336f08c3984bb479756d4305 /libavcodec/pngenc.c | |
parent | aee90d406464baf25ee1dfbf0d3b2a2530d2f61d (diff) | |
download | ffmpeg-8e68f7f7ba55393bcd25c8ddd1c77dd47e081474.tar.gz |
avcodec/sonic: Use unsigned for predictor_k to avoid undefined behavior
Fixes: signed integer overflow: -1094995529 * 24 cannot be represented in type 'int'
Fixes: 44436/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-4874459459223552
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 28008bf95ed9b2ab5945ae6658358ad7c7f1df35)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/pngenc.c')
0 files changed, 0 insertions, 0 deletions