summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_mgmt.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-15 09:26:56 +0100
committerJames Bottomley <James.Bottomley@suse.de>2010-04-09 00:26:15 +0200
commit229bab6bacc42295f13c0434772381a88ce2308b (patch)
tree739c27a013a8f1661a324dfe84f752d08be4c386 /drivers/scsi/be2iscsi/be_mgmt.c
parentMerge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-229bab6bacc42295f13c0434772381a88ce2308b.tar.xz
linux-229bab6bacc42295f13c0434772381a88ce2308b.zip
[SCSI] dpt_i2o: several use after free issues
adpt_i2o_delete_hba() calls kfree() so we have to save "pHba->next" before calling it. Also inside adpt_i2o_delete_hba() itself, there was another use after free bug which I fixed by moving the kfree() down a line. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.c')
0 files changed, 0 insertions, 0 deletions