On Tue, Sep 08, 2020 at 11:29:19PM +0200, Michael Niedermayer wrote: > 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 > Signed-off-by: Michael Niedermayer <[email protected]> > --- > libavcodec/fastaudio.c | 3 +++ > 1 file changed, 3 insertions(+) >
This should be in generic path somehow. There are decoders that does not need this check as they store number of channels in bitstream, but there are others that do not, and thus adding this check for each and every one of them is not nice. _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
