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 7cdc543533659a4f0576533c5a582fcd09a58c8b Author: Michael Niedermayer <[email protected]> AuthorDate: Fri Oct 16 23:19:11 2026 +0200 Commit: Michael Niedermayer <[email protected]> CommitDate: Sun Nov 15 21:19:57 2026 +0100 avcodec/ffv1enc_vulkan: reject frames whose float remap data exceeds 4 GiB Fixes: UfNaupCjUEh6 Fixes: AISLE-2026-0150-00707 Integer overflow Replicated through Modified FFmpeg printing the sizes Found-by: Joshua Rogers (AISLE) The report suggested rejecting slice layouts whose remap data exceeds the 32 bit limit. (cherry picked from commit f2e94c3ebaf04c7cb55d3ea5e5b13d3600a5eec3) Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/ffv1enc_vulkan.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c index 699df37b6d..f3ded3d097 100644 --- a/libavcodec/ffv1enc_vulkan.c +++ b/libavcodec/ffv1enc_vulkan.c @@ -1362,6 +1362,11 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx) if (n < 2) n = 2; fv->max_pixels_per_slice = n; + + if ((uint64_t)n * 12 * sizeof(uint32_t) * f->max_slice_count > UINT32_MAX) { + av_log(avctx, AV_LOG_ERROR, "Frame too large for the float remap\n"); + return AVERROR_PATCHWELCOME; + } } /* Init rct search shader */ -- 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]
