diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-16 19:05:23 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-09-10 16:04:26 +0200 |
commit | db799e0bc2232f6b34c93b3d1edc7cd605236615 (patch) | |
tree | 4ae61e9da5c8a822229e4686b743b74059547b96 /libavcodec/xiph.h | |
parent | 55698d3ef260e7a5241f10d9b0377396ae8d733f (diff) | |
download | ffmpeg-db799e0bc2232f6b34c93b3d1edc7cd605236615.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 'libavcodec/xiph.h')
0 files changed, 0 insertions, 0 deletions