]> git.sesse.net Git - ffmpeg/commit
avcodec/pnm: Check scale
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 6 Jun 2020 15:50:21 +0000 (17:50 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jun 2020 18:45:56 +0000 (20:45 +0200)
commit8e21379da110ca78f41ff2fe074fd771a1bcd1d0
treeeedafe3f0a5fb522e27dd34d1979a446cab40dd3
parent3e651eeac4001820a4b1ac6a31974753288bb9ed
avcodec/pnm: Check scale

Fixes: division by zero
Fixes: 22974/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PFM_fuzzer-6270027077779456
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/pnm.c