diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-04-16 15:06:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-06-04 20:24:48 +0200 |
commit | 30cdacf8c2ff111a362671be7cec7e4f4000b469 (patch) | |
tree | 9fa9c323f9c681fb6adff380ad709f8caf14d2ff /libavcodec/h264pred_template.c | |
parent | b79b50a3082a602277fc3e006d581b22d08cce18 (diff) | |
download | ffmpeg-30cdacf8c2ff111a362671be7cec7e4f4000b469.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 'libavcodec/h264pred_template.c')
0 files changed, 0 insertions, 0 deletions