[SCSI] zfcp: Prevent access on uninitialized memory.
authorSwen Schillig <swen@vnet.ibm.com>
Fri, 16 Jul 2010 13:37:40 +0000 (15:37 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 28 Jul 2010 14:48:53 +0000 (09:48 -0500)
commitd23948ea38c4c6aa13e4df903dfdd71cabd0e6a3
tree854461f6c1fe78c2586ae47d5e4af08dd0434d6c
parent2d1e547f7523514d1da449bcf08645fe13579378
[SCSI] zfcp: Prevent access on uninitialized memory.

Initialize allocated memory to zero to prevent access on error. This
prevents a possible error in the error handling path.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_dbf.c