diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-09-12 20:08:42 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-09-19 00:10:38 +0200 |
commit | 44c5641ae82387fcfce94820f5b53ce8e9dcd27f (patch) | |
tree | 866ad1b62baef16311c6575dac29510ace408692 /libavcodec/fic.c | |
parent | 6df9a0292ca6c29ef3b220fbf9b257924cabf035 (diff) | |
download | ffmpeg-44c5641ae82387fcfce94820f5b53ce8e9dcd27f.tar.gz |
swscale/swscale: Use unsigned operation to avoid undefined behavior
I have not checked that the constant is correct, this just fixes the undefined behavior
Fixes: signed integer overflow: -646656 * 3517 cannot be represented in type 'int
Fixes: 70559/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-5209368631508992
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/fic.c')
0 files changed, 0 insertions, 0 deletions