commit | 0147600172b4a5d261165d1aa5ef818d84da1557 | [log] [tgz] |
---|---|---|
author | Michael Halcrow <mhalcrow@us.ibm.com> | Fri Jul 25 19:45:00 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sat Jul 26 12:00:04 2008 -0700 |
tree | 600b372bdde87472043d71716a8cfe638a91373b | |
parent | ec288bd37e1925f513db40871bc46115cf7fb733 [diff] |
tpm: Use correct data types for sizes in tpm_write() and tpm_read() Use the correct data types for the size parameters in tpm_write() and tpm_read(). Note that rw_verify_area() makes sure that this bug cannot be exploited to produce a buffer overrun. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> Cc: Marcel Selhorst <tpm@selhorst.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>