diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2023-01-24 22:48:46 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2023-04-22 23:19:16 +0200 |
commit | 38adbc6eebd7f2f34ecf1b0b18019e88bad9d9f4 (patch) | |
tree | 61d9a54a97438a07f8d7ee4d444f57032ae7125d /libavformat/stldec.c | |
parent | eddf7e2a3e9459fd26a76fb2984a6c9b994e2d89 (diff) | |
download | ffmpeg-38adbc6eebd7f2f34ecf1b0b18019e88bad9d9f4.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>
Diffstat (limited to 'libavformat/stldec.c')
0 files changed, 0 insertions, 0 deletions