diff options
author | Crestez Dan Leonard <leonard.crestez@intel.com> | 2016-06-03 21:30:24 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-06-11 17:20:27 +0100 |
commit | 6e85dbe4b461e59fa3cad6f6235cb47fa4c6a629 (patch) | |
tree | dc8e9b4c1756106839dc3640112f67c4e0750996 /drivers/staging | |
parent | staging: lustre: lnet: Don't access NULL NI on failure path (diff) | |
download | linux-dev-6e85dbe4b461e59fa3cad6f6235cb47fa4c6a629.tar.xz linux-dev-6e85dbe4b461e59fa3cad6f6235cb47fa4c6a629.zip |
iio: inv_mpu6050: Fix use-after-free in ACPI code
In some cases this can result in incorrectly returning a negative value
from asus_acpi_get_sensor_info and the AK8963 magnetometer failing to
show up.
Note cpm is an alias for buffer.pointer which isn't apparent in this
patch on it's own.
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Crestez Dan Leonard <leonard.crestez@intel.com>
Acked-by: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions