1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavcodec
Michael Niedermayer 81503ac58a avcodec/utils: Require a non zero channels unless AV_CODEC_CAP_CHANNEL_CONF is set
This avoids per codec checks for channels not being 0

Fixes: division by 0
Fixes: 25419/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FASTAUDIO_fuzzer-5632544761184256
Fixes: 25433/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FASTAUDIO_fuzzer-6215671900536832

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Suggested-by: Paul B Mahol <onemda@gmail.com>
See: [FFmpeg-devel] [PATCH 1/3] avcodec/fastaudio: Check channel
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-11-28 00:41:51 +01:00
..
2020-11-24 09:38:35 +01:00
2020-11-12 15:55:16 +01:00
2020-10-24 19:11:12 +02:00
2020-11-10 02:14:29 +01:00
2020-11-24 11:35:03 +01:00
2020-11-24 11:35:03 +01:00
2020-10-24 16:50:29 +02:00
2020-11-24 09:38:35 +01:00
2020-10-19 05:15:00 +02:00
2020-11-25 01:08:42 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-11 18:36:09 +01:00
2020-11-11 18:36:09 +01:00
2020-11-24 11:35:03 +01:00
2020-11-24 11:35:03 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-24 09:38:35 +01:00
2020-11-02 22:57:23 +00:00
2020-11-02 22:57:23 +00:00
2020-10-23 10:37:04 +02:00