From: Michael Halcrow Date: Sat, 26 Jul 2008 02:45:00 +0000 (-0700) Subject: tpm: Use correct data types for sizes in tpm_write() and tpm_read() X-Git-Tag: v2.6.27-rc1~186 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0147600172b4a5d261165d1aa5ef818d84da1557;p=pandora-kernel.git 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 Cc: Marcel Selhorst Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed