diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-01-24 22:48:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-06-04 20:18:24 +0200 |
commit | 99bab6e96168e205ffa990369684fee41e367934 (patch) | |
tree | e01af641222e34c414521734ff50650d97f27609 /libavcodec/vp56.c | |
parent | dc530f258cf7ac11e777879aa453e131293583e5 (diff) | |
download | ffmpeg-99bab6e96168e205ffa990369684fee41e367934.tar.gz |
avcodec/g2meet: Replace fake allocation avoidance for framebuf
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 38adbc6eebd7f2f34ecf1b0b18019e88bad9d9f4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vp56.c')
0 files changed, 0 insertions, 0 deletions