commit | 99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3 | [log] [tgz] |
---|---|---|
author | Steven Hardy <shardy@redhat.com> | Mon Apr 04 17:59:55 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Apr 13 15:53:16 2011 -0700 |
tree | 59223dfce886e17092fe093e74e11a1a36453e71 | |
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>