]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7af252c36003b0958f783d7bb5d319d8892a71ba
tree9df0d8a955d7c874010db02bcefa59e73ff941aa
parent3fb10910b248612a2c0ab5c37c7e7c989116b867
[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