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

Git pushed a commit to branch release/8.1
in repository ffmpeg.

commit 8c115554a8c4b3a81538d338f2bd968d53dea9d6
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Wed Jun 24 03:00:42 2026 +0200
Commit:     Michael Niedermayer <[email protected]>
CommitDate: Sat Sep 19 14:26:57 2026 +0200

    avcodec/hevc: Fix integer overflow in WPP entry point range check
    
    Fixes: out of array access
    Fixes: poc.hevc / make_poc.py
    Fixes: 83WY4xnR87vb
    Fixes: dad354f38d (avcodec/hevc: Check max ctb addresses for WPP)
    Found-by: VulnForge Security Research Team <[email protected]>
    Signed-off-by: Michael Niedermayer <[email protected]>
    (cherry picked from commit ba55f425fdd889a7998fce068367e9d3a6c40af4)
    Signed-off-by: Michael Niedermayer <[email protected]>
---
 libavcodec/hevc/hevcdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
index ae5f0fe69d..ca5243bbc3 100644
--- a/libavcodec/hevc/hevcdec.c
+++ b/libavcodec/hevc/hevcdec.c
@@ -2934,7 +2934,7 @@ static int hls_slice_data_wpp(HEVCContext *s, const 
H2645NAL *nal)
     int64_t startheader, cmpt = 0;
     int i, j, res = 0;
 
-    if (s->sh.slice_ctb_addr_rs + s->sh.num_entry_point_offsets * 
sps->ctb_width >= sps->ctb_width * sps->ctb_height) {
+    if (s->sh.slice_ctb_addr_rs + s->sh.num_entry_point_offsets * 
(int64_t)sps->ctb_width >= sps->ctb_width * (int64_t)sps->ctb_height) {
         av_log(s->avctx, AV_LOG_ERROR, "WPP ctb addresses are wrong (%d %d %d 
%d)\n",
             s->sh.slice_ctb_addr_rs, s->sh.num_entry_point_offsets,
             sps->ctb_width, sps->ctb_height

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