Re: [PATCH] ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, 26 Nov 2024 20:24:49 +0100,
Gax-c wrote:
> 
> From: Zichen Xie <zichenxie0106@xxxxxxxxx>
> 
> kunit_kzalloc() may return a NULL pointer, dereferencing it without
> NULL check may lead to NULL dereference.
> Add NULL checks for all the kunit_kzalloc() in sound_kunit.c
> 
> Signed-off-by: Zichen Xie <zichenxie0106@xxxxxxxxx>

Thanks, applied now with Fixes tag.


Takashi




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux