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

Git pushed a commit to branch master
in repository ffmpeg.

commit e7965fac92fa5184e1f9ba19fdcf37dff3f68aad
Author:     Niklas Haas <[email protected]>
AuthorDate: Sun Jun 14 11:25:45 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Mon Aug 31 19:10:45 2026 +0000

    avformat/shared: correctly early-exit on read past last block end
    
    Sponsored-by: nxtedition AB
    Signed-off-by: Niklas Haas <[email protected]>
---
 libavformat/shared.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/shared.c b/libavformat/shared.c
index eba640c207..6e12e4f2c2 100644
--- a/libavformat/shared.c
+++ b/libavformat/shared.c
@@ -657,6 +657,8 @@ retry:
 
         tmp += (ptrdiff_t) offset;
         size = FFMIN(size, block_size - offset);
+        if (size <= 0)
+            return AVERROR_EOF;
         if (s->verify) {
             verify_read = 1;
             break; /* fall through to the cache miss logic */

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