aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pngdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-02-20 19:38:00 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-02-22 18:01:51 +0100
commitb3df7ca748bf28e41a6fcb6792b485d8eb04b36a (patch)
tree7c1c6f8311d06a8f431ebb22bf80234791543550 /libavcodec/pngdec.c
parent53c1f5c2e28e54ea8174b196d5cf4a158907395a (diff)
downloadffmpeg-b3df7ca748bf28e41a6fcb6792b485d8eb04b36a.tar.gz
avformat/rka: Fix 1/0 with bps=1
Fixes: division by zero Fixes: 55940/clusterfuzz-testcase-minimized-ffmpeg_IO_DEMUXER_fuzzer-6333107679920128 The decoder does not support bps=1 and i have no such sample so it is not known if this duration is correct. Alternatively we could error out on all bps we currently do not support on the decoder side or not set duration. 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/pngdec.c')
0 files changed, 0 insertions, 0 deletions