diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-16 00:31:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-05-21 09:31:08 +0200 |
commit | 49459aca47d4803b2188fbf12b758bd2b01e91d7 (patch) | |
tree | 74ac901913d1de56077902fe1be5bf0ebe27b2b4 /libavcodec/tiff.c | |
parent | 1d633e6a0a61118c9b2d1785d96bdebaa8c38592 (diff) | |
download | ffmpeg-49459aca47d4803b2188fbf12b758bd2b01e91d7.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>
Diffstat (limited to 'libavcodec/tiff.c')
0 files changed, 0 insertions, 0 deletions