Projects
Essentials
A_tw-ffmpeg-4
ffmpeg-4-CVE-2025-10256.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffmpeg-4-CVE-2025-10256.patch of Package A_tw-ffmpeg-4
Author: Jiasheng Jiang <jiashengjiangcool@gmail.com> Date: Wed Aug 6 16:39:47 2025 +0000 libavfilter/af_firequalizer: Add check for av_malloc_array() Add check for the return value of av_malloc_array() to avoid potential NULL pointer dereference. Fixes: d3be186ed1 ("avfilter/firequalizer: add dumpfile and dumpscale option") Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> diff a/libavfilter/af_firequalizer.c b/libavfilter/af_firequalizer.c --- a/libavfilter/af_firequalizer.c +++ b/libavfilter/af_firequalizer.c @@ -822,6 +822,8 @@ static int config_input(AVFilterLink *in if (s->dumpfile) { s->analysis_rdft = av_rdft_init(rdft_bits, DFT_R2C); s->dump_buf = av_malloc_array(s->analysis_rdft_len, sizeof(*s->dump_buf)); + if (!s->dump_buf) + return AVERROR(ENOMEM); } s->analysis_buf = av_malloc_array(s->analysis_rdft_len, sizeof(*s->analysis_buf));
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
.