diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-04-16 15:06:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-05-26 14:45:28 +0200 |
commit | a207fbcdff47394761dcae94fee65ed45cbc5e50 (patch) | |
tree | b98a3bc891e4f8e8d1f2bfd9fc28c1f1fa5a5ec1 /libavformat/swf.h | |
parent | 4443cdbc92d36d65fedfdb709a8cf74bef6a64e7 (diff) | |
download | ffmpeg-a207fbcdff47394761dcae94fee65ed45cbc5e50.tar.gz |
avcodec/pngdec: Do not pass AVFrame into global header decode
The global header should not contain a frame, and decoding it
would result in leaks
Fixes: memleak
Fixes: 45982/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APNG_fuzzer-6603443149340672
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 d31d4f32283f765c79d6e127d31ee2c37a0acef7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/swf.h')
0 files changed, 0 insertions, 0 deletions