diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-16 18:08:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-02 14:18:21 +0100 |
commit | 554f1133c304dd874dcb44192d5f59a2496494bd (patch) | |
tree | e890eb168cdef98ef70cb19c71cf4b32451180a2 /libswscale/hscale_fast_bilinear.c | |
parent | e78b6c0c2fe9d907d15ecf1d724b7a85ac72d9c1 (diff) | |
download | ffmpeg-554f1133c304dd874dcb44192d5f59a2496494bd.tar.gz |
avcodec/exr: Check limits to avoid overflow in delta computation
Fixes: signed integer overflow: 553590816 - -2145378049 cannot be represented in type 'int'
Fixes: 26315/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5938755121446912
Fixes: 26340/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5644316208529408
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 6910e0f4e5c40b5b902e4dd87256327d860d53f5)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/hscale_fast_bilinear.c')
0 files changed, 0 insertions, 0 deletions