[FFmpeg-cvslog] avformat/mov: Fix MSAN issue with stsd_id
Thomas Guilbert
git at videolan.org
Sat Dec 30 01:44:08 EET 2023
ffmpeg | branch: release/6.1 | Thomas Guilbert <tguilbert at chromium.org> | Wed Nov 15 20:28:49 2023 +0000| [2bd36ef4c7709a4beaef358a75408c0d6f9e3ea7] | committer: Michael Niedermayer
avformat/mov: Fix MSAN issue with stsd_id
Fixes: use of uninitialized value
Fixes: bbb-320x240-2video-2audio.mp4
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit ff451df9479810d75851f92babd0b4290da03dd6)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2bd36ef4c7709a4beaef358a75408c0d6f9e3ea7
---
libavformat/mov.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 65c5c8c288..606fe22f71 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1472,6 +1472,7 @@ static int update_frag_index(MOVContext *c, int64_t offset)
frag_stream_info[i].index_base = -1;
frag_stream_info[i].index_entry = -1;
frag_stream_info[i].encryption_index = NULL;
+ frag_stream_info[i].stsd_id = -1;
}
if (index < c->frag_index.nb_items)
More information about the ffmpeg-cvslog
mailing list