aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/huffyuvencdsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2023-01-24 22:48:46 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2023-05-26 00:04:44 +0200
commit67128a952c88227bf2b2db2337b50bc403568aa5 (patch)
tree24ac961e81e7dd5a4540b3c57b18313d700f0580 /libavcodec/huffyuvencdsp.c
parent3b5c0f75ef6423967a69af31653e31de82f30b1c (diff)
downloadffmpeg-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/huffyuvencdsp.c')
0 files changed, 0 insertions, 0 deletions