]> 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)
commit893fd10e71f56fe4e99c288a709bb79a2cdb0af3
treecfb080de6385fae3d86e32a7f83d5fe2dccef5d9
parent06a713061954b9dce8bea0af038d34365040231c
[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