WSL2-Linux-Kernel/drivers/char/tpm
Peter Huewe 1309d7afbe char/tpm: Fix unitialized usage of data buffer
This patch fixes information leakage to the userspace by initializing
the data buffer to zero.

Reported-by: Peter Huewe <huewe.external@infineon.com>
Signed-off-by: Peter Huewe <huewe.external@infineon.com>
Signed-off-by: Marcel Selhorst <m.selhorst@sirrix.com>
[ Also removed the silly "* sizeof(u8)".  If that isn't 1, we have way
  deeper problems than a simple multiplication can fix.   - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-03-29 09:45:34 -07:00
..
Kconfig
Makefile
tpm.c char/tpm: Fix unitialized usage of data buffer 2011-03-29 09:45:34 -07:00
tpm.h Revert "tpm_tis: Use timeouts returned from TPM" 2011-02-20 10:03:12 -08:00
tpm_atmel.c
tpm_atmel.h
tpm_bios.c
tpm_infineon.c
tpm_nsc.c
tpm_tis.c Revert "tpm_tis: Use timeouts returned from TPM" 2011-02-20 10:03:12 -08:00