Re: [PATCH] usb: serial: io_edgeport: fix memory leak in edge_startup

2021-03-05 Thread Johan Hovold
On Tue, Mar 02, 2021 at 02:01:52AM +0300, Pavel Skripkin wrote: > sysbot found memory leak in edge_startup(). > The problem was that when an error was received from the usb_submit_urb(), > nothing was cleaned up. > > Reported-by: syzbot+59f777bdcbdd7eea5...@syzkaller.appspotmail.com >

[PATCH] usb: serial: io_edgeport: fix memory leak in edge_startup

2021-03-01 Thread Pavel Skripkin
sysbot found memory leak in edge_startup(). The problem was that when an error was received from the usb_submit_urb(), nothing was cleaned up. Reported-by: syzbot+59f777bdcbdd7eea5...@syzkaller.appspotmail.com Signed-off-by: Pavel Skripkin --- drivers/usb/serial/io_edgeport.c | 26