diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-08-07 00:18:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-08-10 15:04:46 +0200 |
commit | 1b8d95da3a4a5c9441238928a36b653da693c286 (patch) | |
tree | a42984c97c53956e8ac08095f0c76f009aa8762a /libavformat/h261dec.c | |
parent | cda5f5c5ed6de9ed5bba5c926adefe5588ea881a (diff) | |
download | ffmpeg-1b8d95da3a4a5c9441238928a36b653da693c286.tar.gz |
tools/target_dec_fuzzer: Use av_buffer_allocz() to avoid missing slices to have unpredictable content
This matches production code which also zeros these buffers
Fixes: use of uninitialized values
Fixes: 70885/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP6F_fuzzer-4610946029387776 (and likely others)
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/h261dec.c')
0 files changed, 0 insertions, 0 deletions