]> git.sesse.net Git - ffmpeg/commit
avcodec/sonic: Check channels before deallocating
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 24 Sep 2020 20:20:39 +0000 (22:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 25 Sep 2020 08:21:28 +0000 (10:21 +0200)
commitf249981976b18438cfb646183d4c21fb051e1ad4
tree2e50fb7eea6d94d91e7359c8b796903f1754c228
parent14d6838638f8c0dafadebe9d7cbd29a62239620c
avcodec/sonic: Check channels before deallocating

Fixes: heap-buffer-overflow
Fixes: 25744/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-5172961169113088
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/sonic.c