diff options
author | Steven Hardy <shardy@redhat.com> | 2011-04-04 17:59:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-21 14:32:55 -0700 |
commit | 4f377dfbba0ff6d83fcf9f4939d51ca54b8d4485 (patch) | |
tree | 24062fcc14c96432d3280a3c638bd00174d19e73 /net/rose/af_rose.c | |
parent | a14f54520a7a50f1d591d848c65955eb0feb993b (diff) |
usb: qcserial avoid pointing to freed memory
commit 99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/rose/af_rose.c')
0 files changed, 0 insertions, 0 deletions