Re: [FFmpeg-devel] [PATCH 1/2] avcodec/g2meet: Replace fake allocation avoidance for framebuf

2023-04-22 Thread Michael Niedermayer
On Wed, Jan 25, 2023 at 12:42:53AM +0100, Michael Niedermayer wrote: > 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: >

[FFmpeg-devel] [PATCH 1/2] avcodec/g2meet: Replace fake allocation avoidance for framebuf

2023-01-24 Thread Michael Niedermayer
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