This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch release/9.1 in repository ffmpeg.
commit b4b98d1e71c9295eac3b8680dbf4935c0496fab4 Author: Michael Niedermayer <[email protected]> AuthorDate: Tue Nov 3 04:28:59 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 02:42:50 2026 +0100 avcodec/exr: compute the tile count in 64 bits Fixes: ZF6qKuDyIHUD Fixes: AISLE-2026-0150-00476 Fixes: disclosure of previous frame content Disclosure of previous frame content Replicated through UnModified FFmpeg Found-by: Joshua Rogers (AISLE) (cherry picked from commit c05d46ea2919da83233bf4216d3f58428bb54c59) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/exr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 0e9c734a10..d53bd9ba40 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -2090,7 +2090,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *picture, int i, y, ret, ymax; int planes; int out_line_size; - int nb_blocks; /* nb scanline or nb tile */ + int64_t nb_blocks; /* nb scanline or nb tile */ uint64_t start_offset_table; uint64_t start_next_scanline; @@ -2217,7 +2217,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *picture, if (s->tile_attr.ySize <= 0 || s->tile_attr.xSize <= 0) return AVERROR_INVALIDDATA; nb_blocks = ((s->xdelta + s->tile_attr.xSize - 1) / s->tile_attr.xSize) * - ((s->ydelta + s->tile_attr.ySize - 1) / s->tile_attr.ySize); + (int64_t)((s->ydelta + s->tile_attr.ySize - 1) / s->tile_attr.ySize); } else { /* scanline */ nb_blocks = (s->ydelta + s->scan_lines_per_block - 1) / s->scan_lines_per_block; -- 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]
