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-17 14:02:59 +01:00
2010-10-15 15:53:27 +02:00
2011-03-23 19:46:38 -07:00
2011-03-23 19:46:38 -07:00
2008-02-07 08:42:25 -08:00
2011-03-23 19:46:40 -07:00
2010-10-15 15:53:27 +02:00
2011-02-02 15:28:19 +01:00
2010-10-15 15:53:27 +02:00
2011-01-13 08:03:23 -08:00
2009-02-22 09:23:02 -08:00
2011-01-10 08:51:44 -08:00
2010-10-15 15:53:27 +02:00