]> git.sesse.net Git - ffmpeg/commit
avcodec/wmaprodec: Check that the streams channels do not exceed the overall channels
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 12 Oct 2019 16:32:08 +0000 (18:32 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 13 Oct 2019 22:48:44 +0000 (00:48 +0200)
commite418b315ddd0505e707860f8cc8b796ce06f3458
tree38f04a92bbbb72e05f35d8d3fa5859d084639645
parente835a9d30263ce16e2621d79ff1be9afd5274a60
avcodec/wmaprodec: Check that the streams channels do not exceed the overall channels

Fixes: NULL pointer dereference
Fixes: 18075/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XMA1_fuzzer-5708262036471808
Fixes: 18087/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XMA1_fuzzer-5740627634946048
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/wmaprodec.c