lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 13 Oct 2021 11:36:16 +0200 From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com> To: Ziyang Xuan <william.xuanziyang@...wei.com> Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH net 2/2] NFC: digital: fix possible memory leak in digital_in_send_sdd_req() On 13/10/2021 09:50, Ziyang Xuan wrote: > 'skb' is allocated in digital_in_send_sdd_req(), but not free when > digital_in_send_cmd() failed, which will cause memory leak. Fix it > by freeing 'skb' if digital_in_send_cmd() return failed. > > Fixes: 2c66daecc409 ("NFC Digital: Add NFC-A technology support") > Signed-off-by: Ziyang Xuan <william.xuanziyang@...wei.com> > --- > net/nfc/digital_technology.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com> Best regards, Krzysztof
Powered by blists - more mailing lists