This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch release/7.0
in repository ffmpeg.
The following commit(s) were added to refs/heads/release/7.0 by this push:
new 6f9e7431fd avformat/mov: check ff_mov_read_chnl return value
6f9e7431fd is described below
commit 6f9e7431fd054d2606fae43cf2029fd1831c4bdb
Author: James Almer <[email protected]>
AuthorDate: Sun Oct 11 11:07:34 2026 -0300
Commit: James Almer <[email protected]>
CommitDate: Sun Oct 11 11:22:13 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 8ba6f88026..196bc46047 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1184,7 +1184,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]