diff options
author | 2013-03-16 01:30:32 +0400 | |
---|---|---|
committer | 2013-03-21 15:59:01 -0700 | |
commit | c93d81955005c2ac0ea072f88d376026208410e1 (patch) | |
tree | bae48113a39cf83c55a8f25316d5c78bdd203061 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'fixes-for-v3.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus (diff) | |
download | linux-dev-c93d81955005c2ac0ea072f88d376026208410e1.tar.xz linux-dev-c93d81955005c2ac0ea072f88d376026208410e1.zip |
usb: cdc-acm: fix error handling in acm_probe()
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions