diff options
author | Steven Hardy <shardy@redhat.com> | 2011-04-04 17:59:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-13 15:53:16 -0700 |
commit | 99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3 (patch) | |
tree | 59223dfce886e17092fe093e74e11a1a36453e71 /fs/sysfs | |
parent | 10c9ab15d6aee153968d150c05b3ee3df89673de (diff) |
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 'fs/sysfs')
0 files changed, 0 insertions, 0 deletions