aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/float_dsp_init.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2021-04-20 20:24:21 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2021-06-18 20:53:56 +0200
commitfa38dfc0efaea2fde7002216f62441769bc85ce3 (patch)
tree3f2de2582cc2a67ab8af0d6a6ac35dfadb8f9b80 /libavutil/x86/float_dsp_init.c
parent5d3c96cf11768a127857161e2504c9f60ef4f97d (diff)
downloadffmpeg-fa38dfc0efaea2fde7002216f62441769bc85ce3.tar.gz
avcodec/exr: x/ymax cannot be INT_MAX
The code uses x/ymax + 1 so the maximum is INT_MAX-1 Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' Fixes: 33158/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_EXR_fuzzer-5545462457303040 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 48342aa0750f83006582d1598b5f22297f6dbf83) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/x86/float_dsp_init.c')
0 files changed, 0 insertions, 0 deletions