diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-11-04 01:06:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-10 16:04:26 +0200 |
commit | 89db9bbfc398464adbfd965a6092a7a247849ff3 (patch) | |
tree | e54750663d3fa28fadb69467871f679a47a508f2 /libavdevice/alsa.c | |
parent | 636fe4145194c47d3daee5f5234098757fc684b3 (diff) | |
download | ffmpeg-89db9bbfc398464adbfd965a6092a7a247849ff3.tar.gz |
avformat/icodec: Check for zero streams and stream creation failure
Fixes: NULL pointer dereference
Fixes: 26814/clusterfuzz-testcase-minimized-ffmpeg_dem_ICO_fuzzer-5758487797432320
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b33233bd53f74f94f4cd7be0645a99a9549a913e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavdevice/alsa.c')
0 files changed, 0 insertions, 0 deletions