git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d93acbc
)
usb: cdc-acm: fix error handling in acm_probe()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Fri, 15 Mar 2013 21:30:32 +0000
(
01:30
+0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 21 Mar 2013 22:59:01 +0000
(15:59 -0700)
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@ispras.ru>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found