This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/6.1 in repository ffmpeg.
commit 9a47de9ab08f42602052c6fb5d77255074d1b5fa Author: Michael Niedermayer <[email protected]> AuthorDate: Thu Feb 19 00:30:54 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Mon May 4 17:13:26 2026 +0200 avcodec/cbs_h266_syntax_template: bound slice width/height by remaining tiles Fixes: out of array access Fixes: crash_vvc_heap_oob_read.bin Found-by: akshay jain <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit e5c1ca60d8e44fd388f7cc63aa2d4283d6c931df) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/cbs_h266_syntax_template.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index e9d310394f..33a75f08f8 100644 --- a/libavcodec/cbs_h266_syntax_template.c +++ b/libavcodec/cbs_h266_syntax_template.c @@ -1945,14 +1945,14 @@ static int FUNC(pps) (CodedBitstreamContext *ctx, RWContext *rw, tile_y = tile_idx / current->num_tile_columns; if (tile_x != current->num_tile_columns - 1) { ues(pps_slice_width_in_tiles_minus1[i], - 0, current->num_tile_columns - 1, 1, i); + 0, current->num_tile_columns - 1 - tile_x, 1, i); } else { infer(pps_slice_width_in_tiles_minus1[i], 0); } if (tile_y != current->num_tile_rows - 1 && (current->pps_tile_idx_delta_present_flag || tile_x == 0)) { ues(pps_slice_height_in_tiles_minus1[i], - 0, current->num_tile_rows - 1, 1, i); + 0, current->num_tile_rows - 1 - tile_y, 1, i); } else { if (tile_y == current->num_tile_rows - 1) infer(pps_slice_height_in_tiles_minus1[i], 0); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
