diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-09-01 23:54:07 +0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-09-14 00:46:31 +0400 |
commit | eceeb4371240aff22e9a535a2bc57d2311820942 (patch) | |
tree | 5b477baa91dc4ca2b344d160b780e1a3339275c9 /drivers/scsi/megaraid/megaraid_sas_base.c | |
parent | f661848b74b33069b0b7068c414bd282c407781d (diff) | |
download | linux-eceeb4371240aff22e9a535a2bc57d2311820942.tar.xz |
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/scsi/megaraid/megaraid_sas_base.c')
0 files changed, 0 insertions, 0 deletions