Re: [PATCH 5/5] wifi: mwifiex: use vmalloc_array() to simplify code

From: Dan Carpenter
Date: Wed Aug 13 2025 - 10:18:34 EST


On Wed, Aug 13, 2025 at 02:52:51PM +0800, Qianfeng Rong wrote:
> >
> > I really think we should zero this memory, so lets allocate it
> > with kcalloc().
> I agree with you, I will try to do this in the next version.

Thanks. When you resend it make sure to add a Fixes tag and CC stable.
Forgetting to zero the memory is a sort of security issue.

regards,
dan carpenter