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

Git pushed a commit to branch master
in repository ffmpeg.

commit 93739f4bbbad0991b238f2f82f511c3a1c3f247d
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Sat Oct 10 06:20:44 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Mon Oct 12 23:55:55 2026 +0000

    avformat/wtvdec: append depth-2 allocation table blocks at the current 
sector count
    
    Found during triage/review of OSS-Fuzz issue 472529274
    
    Fixes: VqowcCmeBsvg
    
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavformat/wtvdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c
index 71d93936c3..adea4d9d39 100644
--- a/libavformat/wtvdec.c
+++ b/libavformat/wtvdec.c
@@ -199,7 +199,7 @@ static AVIOContext * wtvfile_open_sector(unsigned 
first_sector, uint64_t length,
         for (i = 0; i < nb_sectors1; i++) {
             if (seek_by_sector(s->pb, sectors1[i], 0) < 0)
                 break;
-            wf->nb_sectors += read_ints(s->pb, wf->sectors + i * 
WTV_SECTOR_SIZE / 4, WTV_SECTOR_SIZE / 4);
+            wf->nb_sectors += read_ints(s->pb, wf->sectors + wf->nb_sectors, 
WTV_SECTOR_SIZE / 4);
         }
     } else {
         av_log(s, AV_LOG_ERROR, "unsupported file allocation table depth 
(0x%x)\n", depth);

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