]> git.karo-electronics.de Git - karo-tx-linux.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 17:32:33 +0000 (10:32 -0700)
commit1f8fbaf6d235c00e4b606b0f0f2c9581b77006e1
treecfb080de6385fae3d86e32a7f83d5fe2dccef5d9
parentdeb22ea62f78064ef8b4f2ee3f2c9499b9d53230
[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