From: Dan Carpenter Date: Sat, 1 Sep 2012 19:54:07 +0000 (-0700) Subject: thinkpad_acpi: buffer overflow in fan_get_status() X-Git-Tag: v3.6-rc6~9^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eceeb4371240aff22e9a535a2bc57d2311820942;p=pandora-kernel.git thinkpad_acpi: buffer overflow in fan_get_status() The acpi_evalf() function modifies four bytes of data but in fan_get_status() we pass a pointer to u8. I have modified the function to use type checking now. Signed-off-by: Dan Carpenter Signed-off-by: Matthew Garrett --- Reading git-diff-tree failed