diff options
author | 2011-04-04 17:59:55 +0100 | |
---|---|---|
committer | 2011-04-13 15:53:16 -0700 | |
commit | 99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3 (patch) | |
tree | 59223dfce886e17092fe093e74e11a1a36453e71 /drivers/scsi/mpt2sas/mpt2sas_ctl.c | |
parent | usb: Fix qcserial memory leak on rmmod (diff) | |
download | wireguard-linux-99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3.tar.xz wireguard-linux-99ab3f9e4eaec35fd2d7159c31b71f17f7e613e3.zip |
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/scsi/mpt2sas/mpt2sas_ctl.c')
0 files changed, 0 insertions, 0 deletions