aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/bfi.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2020-05-16 00:31:23 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2020-05-21 15:32:29 +0200
commit989a2788c094fc78e0fd209d691eae1c8ba8b2f4 (patch)
tree6f5fca3beb3aa8ece6a9109432283d446aba4ef5 /libavformat/bfi.c
parentb7fdc2d02b81d285ac1a1a21deac3bdf61569734 (diff)
downloadffmpeg-989a2788c094fc78e0fd209d691eae1c8ba8b2f4.tar.gz
avcodec/pnmdec: Use unsigned for maxval rescaling
Fixes: signed integer overflow: 65535 * 55335 cannot be represented in type 'int' Fixes: 21955/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PGMYUV_fuzzer-5669206981083136 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 49459aca47d4803b2188fbf12b758bd2b01e91d7) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/bfi.c')
0 files changed, 0 insertions, 0 deletions