Projects
Essentials
A_tw-ffmpeg-4
ffmpeg-4-CVE-2026-38345.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffmpeg-4-CVE-2026-38345.patch of Package A_tw-ffmpeg-4
From: AnandajithS <anandajiths2006@gmail.com> Date: Sun, 15 Feb 2026 20:38:36 +0000 Subject: [PATCH 3/3] libswscale/utils: prevent division by zero for chroma width 8 Upstream: 04fe98482a264117fa49a166c18227f3f93f921b References: bsc#1277376 CVE-2026-38345 Target: FFmpeg n4.4.8; apply in series order Backport notes: - Adapt ff_sws_init_single_context/sws to sws_init_context/c. - The old MMX fast-bilinear path also divides by chrDstW - 2. - Retain the upstream dstW <= 8 fallback to SWS_BILINEAR. --- diff --git a/libswscale/utils.c b/libswscale/utils.c --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -1284,7 +1284,7 @@ return AVERROR(EINVAL); } if (flags & SWS_FAST_BILINEAR) { - if (srcW < 8 || dstW < 8) { + if (srcW < 8 || dstW <= 8) { flags ^= SWS_FAST_BILINEAR | SWS_BILINEAR; c->flags = flags; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.