[ldv-project] [PATCH] usb: cdc-acm: fix error handling in acm_probe()

Oliver Neukum oliver at neukum.org
Sat Mar 16 12:35:26 MSK 2013


On Saturday 16 March 2013 01:30:32 Alexey Khoroshilov wrote:
> acm_probe() ignores errors in tty_port_register_device()
> and leaves intfdata pointing to freed memory on alloc_fail7
> error path. The patch fixes the both issues.
> 
> Found by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
Acked-by: Oliver Neukum <oliver at neukum.org>




More information about the ldv-project mailing list