[FFmpeg-devel] [PATCH] libavfilter/af_firequalizer: Add check for av_malloc_array()

Michael Niedermayer michael at niedermayer.cc
Thu Aug 7 03:24:11 EEST 2025


On Wed, Aug 06, 2025 at 04:39:47PM +0000, Jiasheng Jiang wrote:
> 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 at gmail.com>
> ---
>  libavfilter/af_firequalizer.c | 2 ++
>  1 file changed, 2 insertions(+)

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Elect your leaders based on what they did after the last election, not
based on what they say before an election.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250807/5f37e7d3/attachment.sig>


More information about the ffmpeg-devel mailing list