Projects
Essentials
A_tw-ffmpeg-4
ffmpeg-4-CVE-2026-70631-part02-ad89cd9.patch
Sign Up
Log In
Username
Password
Sorry, you are not authorized to perform this action.
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffmpeg-4-CVE-2026-70631-part02-ad89cd9.patch of Package A_tw-ffmpeg-4
From ad89cd9d072a252d197e9174c7e53e7945d30083 Mon Sep 17 00:00:00 2001 From: Ayoub Nabil Boubagrat <237098474+ayoubnabil@users.noreply.github.com> Date: Wed, 9 Sep 2026 21:50:01 +0200 Subject: [PATCH] avcodec/tiff: clear the separated intermediate buffer Strip decoding errors are tolerated unless AV_EF_EXPLODE is set. The separated-to-RGBA conversion still consumes the full intermediate buffer, including lines that the failed strip did not initialize. Allocate the buffer with av_calloc() so undecoded lines cannot expose heap contents in the output frame. Fixes: read of uninitialized memory Fixes: 6nbtoGQYPUjZ Found-by: Ayoub Nabil Boubagrat <237098474+ayoubnabil@users.noreply.github.com> Use of uninitialized memory Replicated through UnModified FFmpeg with Valgrind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> --- libavcodec/tiff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 41db29d6e2..efe7ae7056 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -2216,7 +2216,7 @@ again: s->avctx->pix_fmt == AV_PIX_FMT_RGBA) { stride = stride * 5 / 4; five_planes = - dst = av_malloc(stride * s->height); + dst = av_calloc(s->height, stride); if (!dst) return AVERROR(ENOMEM); } -- 2.51.1
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
.