diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-16 19:05:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-09 13:37:21 +0200 |
commit | d7fd7eb2974f6bb5ef8db7e1ee6404345267f83d (patch) | |
tree | f674d7862c0860044389f61719ce2987fb85cd19 /libavutil/error.c | |
parent | 8bcad00e41869840aaf55dc52cff252671dbb8c0 (diff) | |
download | ffmpeg-d7fd7eb2974f6bb5ef8db7e1ee6404345267f83d.tar.gz |
avformat/icodec: Change order of operations to avoid NULL dereference
Fixes: SEGV on unknown address 0x000000000000
Fixes: 26379/clusterfuzz-testcase-minimized-ffmpeg_dem_ICO_fuzzer-5709011753893888
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 3300f5c133650ba25f94531d40ecc94c79b84457)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/error.c')
0 files changed, 0 insertions, 0 deletions