Messages in this thread | | | Subject | Re: [PATCH] net/bluetooth: use memset avoid memory leaks | From | Marcel Holtmann <> | Date | Fri, 4 Mar 2022 18:20:42 +0100 |
| |
Hi Minghao,
> Use memset to initialize structs to prevent memory leaks > in l2cap_ecred_connect > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Minghao Chi (CGEL ZTE) <chi.minghao@zte.com.cn> > --- > net/bluetooth/l2cap_core.c | 1 + > 1 file changed, 1 insertion(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel
| |