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-02-24 12:19:43 +10:00
2011-03-17 18:48:35 -07:00
2011-03-23 19:46:38 -07:00
2011-03-17 14:02:59 +01:00
2011-03-16 15:11:04 -07:00
2011-03-29 09:45:34 -07:00
2011-02-28 13:22:43 -07:00
2010-10-24 13:41:39 -07:00
2010-10-27 18:03:14 -07:00
2010-10-15 15:53:27 +02:00
2010-11-17 08:59:32 -08:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2010-10-05 15:01:04 +02:00
2010-10-22 10:52:56 -07:00
2010-08-21 00:34:45 -07:00
2010-11-17 08:59:32 -08:00
2010-11-15 13:27:06 -08:00
2011-03-23 19:46:38 -07:00
2010-10-22 10:52:56 -07:00
2011-03-23 19:46:38 -07:00
2010-10-05 15:01:04 +02: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
2011-03-23 19:46:38 -07:00
2010-10-15 15:53:27 +02:00
2010-10-05 15:01:04 +02:00
2010-10-15 15:53:27 +02:00
2010-10-05 15:01:04 +02:00
2010-10-15 15:53:27 +02:00
2010-10-27 18:03:14 -07:00
2011-01-13 08:03:23 -08:00
2011-02-21 22:42:42 +11:00
2010-11-13 11:55:17 +01:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:52:56 -07:00
2011-01-10 08:51:44 -08:00
2010-12-24 15:59:07 +01:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:52:56 -07:00
2010-10-22 10:52:56 -07:00
2011-02-17 11:59:56 -08:00
2010-11-17 08:59:32 -08:00
2010-10-22 10:52:56 -07:00
2011-03-06 10:44:13 -08:00