diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-09-01 12:54:07 -0700 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-09-13 16:46:31 -0400 |
commit | eceeb4371240aff22e9a535a2bc57d2311820942 (patch) | |
tree | 5b477baa91dc4ca2b344d160b780e1a3339275c9 /drivers/gpio/devres.c | |
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>
Diffstat (limited to 'drivers/gpio/devres.c')
0 files changed, 0 insertions, 0 deletions