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
..
2011-03-28 07:42:58 -07:00
2011-03-28 08:47:17 +02:00
2011-03-22 17:43:59 -07:00
2011-03-18 17:15:11 -07:00
2011-03-22 17:43:59 -07:00
2011-03-23 14:55:56 -06:00
2011-03-22 17:44:17 -07:00
2011-03-28 19:33:04 +02:00