This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch release/7.1
in repository ffmpeg.
The following commit(s) were added to refs/heads/release/7.1 by this push:
new 18c174a80f avformat/mov: check ff_mov_read_chnl return value
18c174a80f is described below
commit 18c174a80fc080e2e3f09f9acdebe40e15b7ddd7
Author: James Almer <[email protected]>
AuthorDate: Sun Oct 11 11:07:34 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Sun Oct 11 11:21:25 2026 -0300
avformat/mov: check ff_mov_read_chnl return value
Fixes use of uninitialized value.
Fixes issue #24960.
Signed-off-by: James Almer <[email protected]>
---
libavformat/mov.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index ebd11786c7..885244b784 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1202,7 +1202,11 @@ static int mov_read_chnl(MOVContext *c, AVIOContext *pb,
MOVAtom atom)
return 0;
}
- ff_mov_read_chnl(c->fc, pb, st);
+ ret = ff_mov_read_chnl(c->fc, pb, st);
+ if (ret < 0) {
+ avio_seek(pb, end, SEEK_SET);
+ return 0;
+ }
if (avio_tell(pb) != end) {
av_log(c->fc, AV_LOG_WARNING, "skip %" PRId64 " bytes of unknown data
inside chnl\n",
--
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]