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>pull/389/head
parent
eddf7e2a3e
commit
38adbc6eeb
1 changed files with 10 additions and 9 deletions
Loading…
Reference in new issue