diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-02-20 03:03:57 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-22 16:08:13 +0100 |
commit | ad008d42bcec99911b3270a8349f8ec8405a1c4e (patch) | |
tree | b6dc4fce8cc602ebb17ddc18dd228952461af00d /drivers/scsi/qla1280.c | |
parent | [SCSI] iscsi transport: make 2 functions static (diff) | |
download | linux-ad008d42bcec99911b3270a8349f8ec8405a1c4e.tar.xz linux-ad008d42bcec99911b3270a8349f8ec8405a1c4e.zip |
[SCSI] mptbase: fix use-after-free's
ioc->name is used in the printk's after ioc has been freed. Free
after prinks to fix this.
This patch fixes two use-after-free's introduced by
commit e78d5b8f1e73ab82f3fd041d05824cfee7d83a2c and spotted by the
Coverity checker.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla1280.c')
0 files changed, 0 insertions, 0 deletions