diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-01-24 22:48:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-05-26 00:04:44 +0200 |
commit | 67128a952c88227bf2b2db2337b50bc403568aa5 (patch) | |
tree | 24ac961e81e7dd5a4540b3c57b18313d700f0580 /libavcodec/eac3_core_bsf.c | |
parent | 3b5c0f75ef6423967a69af31653e31de82f30b1c (diff) | |
download | ffmpeg-67128a952c88227bf2b2db2337b50bc403568aa5.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/eac3_core_bsf.c')
0 files changed, 0 insertions, 0 deletions