thinkpad_acpi: buffer overflow in fan_get_status()
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 1 Sep 2012 19:54:07 +0000 (12:54 -0700)
committerMatthew Garrett <mjg@redhat.com>
Thu, 13 Sep 2012 20:46:31 +0000 (16:46 -0400)
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 <dan.carpenter@oracle.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>

No differences found