diff options
author | Steven Hardy <shardy@redhat.com> | 2011-04-04 16:59:55 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-13 22:53:16 (GMT) |
commit | 99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3 (patch) | |
tree | 59223dfce886e17092fe093e74e11a1a36453e71 /drivers/accessibility | |
parent | 10c9ab15d6aee153968d150c05b3ee3df89673de (diff) | |
download | linux-fsl-qoriq-99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3.tar.xz |
usb: qcserial avoid pointing to freed memory
Rework the qcprobe logic such that serial->private is not set when
qcprobe exits with -ENODEV, otherwise serial->private will point to freed
memory on -ENODEV
Signed-off-by: Steven Hardy <shardy@redhat.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/accessibility')
0 files changed, 0 insertions, 0 deletions