On Thu, Jul 10, 2025 at 04:26:39PM +0000, Jiasheng Jiang wrote:
> Add check for the return value of av_malloc_array() and av_calloc()
> to avoid potential NULL pointer dereference.
> 
> Fixes: dcfd24b10c ("avcodec/alsdec: Implement floating point sample data 
> decoding")
> Signed-off-by: Jiasheng Jiang <jiashengjiangc...@gmail.com>
> ---
> Changelog:
> 
> 1. Wrap the if condtion.
> ---
>  libavcodec/alsdec.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

will apply

thx

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

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to