commit | eceeb4371240aff22e9a535a2bc57d2311820942 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Sep 01 12:54:07 2012 -0700 |
committer | Matthew Garrett <mjg@redhat.com> | Thu Sep 13 16:46:31 2012 -0400 |
tree | 5b477baa91dc4ca2b344d160b780e1a3339275c9 | |
parent | f661848b74b33069b0b7068c414bd282c407781d [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Matthew Garrett <mjg@redhat.com>