This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 860267bd6288dfe8ec6c662dc75af955504257c8
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sun Oct 4 23:44:39 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sat Oct 10 22:47:39 2026 +0000

    avformat/mov: accept ipma associations with property_index 0
    
    ISO/IEC 23008-12 defines a property_index of 0 as no property being
    associated, but mov_read_iprp() rejected it, and with it the whole file.
    
    Found during triage of the security report srZp1wXh4CXQ
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/mov.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index fb1b91772b..a7400aba06 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -9985,7 +9985,9 @@ static int mov_read_iprp(MOVContext *c, AVIOContext *pb, 
MOVAtom atom)
                 index <<= 8;
                 index |= avio_r8(pb);
             }
-            if (index > nb_atoms || index <= 0) {
+            if (!index)
+                continue;
+            if (index > nb_atoms) {
                 ret = AVERROR_INVALIDDATA;
                 goto fail;
             }

-- 
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]

Reply via email to