]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] ipr: Avoid target_destroy accessing memory after it was freed
authorwenxiong@linux.vnet.ibm.com <wenxiong@linux.vnet.ibm.com>
Thu, 14 Mar 2013 18:52:25 +0000 (13:52 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 4 Jun 2013 18:16:22 +0000 (11:16 -0700)
commit079e0e34034f87af79bb2c687fb182129ad435d5
treecfb080de6385fae3d86e32a7f83d5fe2dccef5d9
parent38ae7865f594eedb5bed080cb6871b09debd0ac1
[SCSI] ipr: Avoid target_destroy accessing memory after it was freed

Defined target_ids,array_ids and vsets_ids as unsigned long to avoid
target_destroy accessing memory after it was freed.

Signed-off-by: Wen Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/ipr.c
drivers/scsi/ipr.h