Re: [PATCH] net/bluetooth: use memset avoid memory leaks
From: Marcel Holtmann
Date: Fri Mar 04 2022 - 12:21:02 EST
Hi Minghao,
> Use memset to initialize structs to prevent memory leaks
> in l2cap_ecred_connect
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@xxxxxxxxxx>
> ---
> net/bluetooth/l2cap_core.c | 1 +
> 1 file changed, 1 insertion(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel