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 linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 8 Aug 2016 13:48:09 +0200 From: Johan Hovold <johan@...nel.org> To: Alexey Klimov <klimov.linux@...il.com> Cc: linux-usb@...r.kernel.org, johan@...nel.org, stern@...land.harvard.edu, gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH] USB: serial: fix memleak on error path in usb-serial On Mon, Aug 08, 2016 at 02:34:46AM +0100, Alexey Klimov wrote: > udriver struct allocated by kzalloc() will not be freed > if usb_register() and next calls fail. This patch fixes this > by adding one more step with kfree(udriver) in error path. > > Cc: Alan Stern <stern@...land.harvard.edu> > Signed-off-by: Alexey Klimov <klimov.linux@...il.com> Now applied, thanks. Johan
Powered by blists - more mailing lists