diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-11-04 01:06:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-17 21:34:53 +0200 |
commit | 452faa80b431afb9ecfba9ef8e85856221d2a5ca (patch) | |
tree | 00e65586714671a4dceae1d8d6294aa59ecda398 /libavformat/wavdec.c | |
parent | d5c4d054822601e6bb57b12bfe69686d042dc792 (diff) | |
download | ffmpeg-452faa80b431afb9ecfba9ef8e85856221d2a5ca.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 'libavformat/wavdec.c')
0 files changed, 0 insertions, 0 deletions