Actions
Bug #7833
closedWrong array address transformation
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
C back-end
Start date:
01/09/2017
Due date:
% Done:
0%
Estimated time:
Detected in build:
svn
Platform:
Published in build:
Description
On module drivers/scsi/scsi_mod.ko CIF transforms
struct scsi_host_sg_pool scsi_sg_pools[5] = {...};
struct scsi_host_sg_pool *sgp = scsi_sg_pools + i;
to source with different meaning:
struct scsi_host_sg_pool scsi_sg_pools[5] = {...};
struct scsi_host_sg_pool *sgp;
sgp = (struct scsi_host_sg_pool *)(&scsi_sg_pools + (unsigned long)i);
Actions