[SCSI] hpsa: avoid leaking stack contents to userland
authorVasiliy Kulikov <segooon@gmail.com>
Fri, 7 Jan 2011 16:55:53 +0000 (10:55 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:34:05 +0000 (11:34 -0600)
commit938abd8449c27fc67203e1a7c350199cea1158da
tree9df0d8a955d7c874010db02bcefa59e73ff941aa
parent1d5e2ed0805bf426226b7daa54b3e60af78baa10
[SCSI] hpsa: avoid leaking stack contents to userland

memset arg64 to zero in the passthrough ioctls to avoid leaking contents
of kernel stack memory to userland via uninitialized padding fields
inserted by the compiler for alignment reasons.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c