diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2025-08-07 19:56:53 +0200 |
---|---|---|
committer | michaelni <michael@niedermayer.cc> | 2025-08-13 10:12:07 +0000 |
commit | 4a0b793737ec1a118d2119a677fa17926def01bc (patch) | |
tree | f064e280044a3f83db97dcf0d8164e77d102f909 /libavformat/hls_sample_encryption.c | |
parent | d5bdb0b705ce96739e812ca5317361674359369c (diff) | |
download | ffmpeg-4a0b793737ec1a118d2119a677fa17926def01bc.tar.gz |
avcodec/dxv: Use av_fast_realloc() and clear all new space
The code writing in the buffer has a wide range of error checks
which simply leave it partly uninitialized.
Initializing it on allocation ensures no sensitive data leaks and that
bugs are more reliably reproduceable
Fixes: use of uninitialized memory
Fixes: 435225510/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_DEC_fuzzer-4521918634196992
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/hls_sample_encryption.c')
0 files changed, 0 insertions, 0 deletions