On Thu, 28 Nov 2024 02:03:14 +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 > > Fixes: 3e39acf56ede ("ALSA: core: Add sound core KUnit test") > Signed-off-by: Zichen Xie <zichenxie0106@xxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > --- > v2: Add Fixes tag. The v1 patch was already applied with Fixes tag. thanks, Takashi