You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
avformat/jpegxl_anim_dec: clear buffer padding
Fixes: use of uninitialized value Fixes: 70992/clusterfuzz-testcase-minimized-ffmpeg_dem_IMAGE2_fuzzer-5735819170611200 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@ -43,7 +43,7 @@ typedef struct JXLAnimDemuxContext {
|
||||
|
||||
static int jpegxl_anim_probe(const AVProbeData *p)
|
||||
{
|
||||
uint8_t buffer[4096 + AV_INPUT_BUFFER_PADDING_SIZE];
|
||||
uint8_t buffer[4096 + AV_INPUT_BUFFER_PADDING_SIZE] = {0};
|
||||
int copied = 0, ret;
|
||||
FFJXLMetadata meta = { 0 };
|
||||
|
||||
|
Reference in New Issue
Block a user