[FFmpeg-cvslog] [ffmpeg] branch master updated. 2a22972db3 avcodec/utvideodec: Clear plane_start array

ffmpeg-git at ffmpeg.org ffmpeg-git at ffmpeg.org
Fri Aug 15 19:17:17 EEST 2025


The branch, master has been updated
       via  2a22972db3b390d82dedbdbb5f44cc09a43912b5 (commit)
      from  c9e93df4eed93fe0044c52d953688c4180de1d48 (commit)


- Log -----------------------------------------------------------------
commit 2a22972db3b390d82dedbdbb5f44cc09a43912b5
Author:     Michael Niedermayer <michael at niedermayer.cc>
AuthorDate: Fri Aug 15 17:55:05 2025 +0200
Commit:     Michael Niedermayer <michael at niedermayer.cc>
CommitDate: Fri Aug 15 18:00:11 2025 +0200

    avcodec/utvideodec: Clear plane_start array
    
    in pack mode the array is passed into decode_plane() without being initialized or used
    
    Fixes: use of uninitialized memory
    Fixes: 438780119/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_UTVIDEO_DEC_fuzzer-5464037027807232
    
    Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
    Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

diff --git a/libavcodec/utvideodec.c b/libavcodec/utvideodec.c
index 934945c1be..bc02ac44d5 100644
--- a/libavcodec/utvideodec.c
+++ b/libavcodec/utvideodec.c
@@ -585,7 +585,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *frame,
     int buf_size = avpkt->size;
     UtvideoContext *c = avctx->priv_data;
     int i, j;
-    const uint8_t *plane_start[5];
+    const uint8_t *plane_start[5] = {NULL};
     int plane_size, max_slice_size = 0, slice_start, slice_end, slice_size;
     int ret;
     GetByteContext gb;

-----------------------------------------------------------------------

Summary of changes:
 libavcodec/utvideodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 



More information about the ffmpeg-cvslog mailing list