aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/h261dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2021-04-20 20:24:21 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2021-10-06 14:41:41 +0200
commit6de521a0585233ba6ab6895ea3fd1b3e22f280ce (patch)
tree8ed8652ddf69d60b1aa6458505af9c8c96fac48f /libavformat/h261dec.c
parent701dc655dae49a0f795708dacc10fc180f2d4044 (diff)
downloadffmpeg-6de521a0585233ba6ab6895ea3fd1b3e22f280ce.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 'libavformat/h261dec.c')
0 files changed, 0 insertions, 0 deletions