diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2021-05-04 22:52:41 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-10-06 13:54:16 +0200 |
commit | 42e4597252585c1fe39eecc1be33f485fbdd1077 (patch) | |
tree | 5438e8272a8ce6d88e48934dd8ddce13834efe76 /libavformat/sapenc.c | |
parent | fee5c1ec54bc985e867b30aeb0155cfb081db39d (diff) | |
download | ffmpeg-42e4597252585c1fe39eecc1be33f485fbdd1077.tar.gz |
avcodec/iff: Only write palette to plane 1 if its PAL8
Fixes: null pointer passed as argument 1, which is declared to never be null
Fixes: 33791/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IFF_ILBM_fuzzer-5107575256383488.fuzz
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 216eb60b853e9a230c1238ab7d1c63d3fa892d34)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/sapenc.c')
0 files changed, 0 insertions, 0 deletions