mirror of https://github.com/FFmpeg/FFmpeg.git
framebuf is only allocated when the new width/height are larger than the old
but nothing sets the old so its always allocated.
Use av_fast_mallocz() instead.
Fixes: Timeout
Fixes: 55094/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_G2M_fuzzer-5116909932904448
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 38adbc6eeb
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
release/6.0
parent
81ab846988
commit
6500c15977
1 changed files with 10 additions and 9 deletions
Loading…
Reference in new issue