diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-11-04 01:06:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-11 21:23:48 +0200 |
commit | ea83351a49ef9e9d39266f5672dd5a0103cc7c9f (patch) | |
tree | 49dd5ea1893eda8373a1058154898c6eb72e812c /libavcodec/xface.c | |
parent | ee7cdaaa3fb009ff6681a9238a7efa80c7e68bd4 (diff) | |
download | ffmpeg-ea83351a49ef9e9d39266f5672dd5a0103cc7c9f.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 'libavcodec/xface.c')
0 files changed, 0 insertions, 0 deletions