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 72982a9ad3e55ba20e7eb0c5fa0870d7e12c402c Author: Sakib Sarkar <[email protected]> AuthorDate: Wed Nov 11 19:09:26 2026 +0100 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 21:19:57 2026 +0100 avformat/mov: reject HEIF grids without coded dimensions Fixes: infinite loop Fixes: YgVX1m47At6V Fixes: heif-grid-tile-without-ispe.heic Infinite loop Replicated through UnModified FFmpeg with timeout Found-by: Sakib Sarkar (cherry picked from commit e965898fde7bac41ac9213c91e11992a413c3112) Signed-off-by: Michael Niedermayer <[email protected]> --- libavformat/mov.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index cb365daec7..351c8b93ad 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -11248,6 +11248,8 @@ static int read_image_grid(AVFormatContext *s, const HEIFGroup *grid, if (coded_width > INT_MAX || coded_height > INT_MAX) return AVERROR_INVALIDDATA; + if (coded_width == 0 || coded_height == 0) + return AVERROR_INVALIDDATA; tile_grid->coded_width = coded_width; tile_grid->coded_height = coded_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]
