zephyr/drivers/sensor
Andy Gross 3ff4065cb3 drivers: sensors: lsm6dsl: Fix array overrun
This patch fixes an overrun detected via Coverity.  The
lsm6dsl_odr_to_freq_val function takes an index as argument.  If the
index is out of bounds, the expected behavior was to return the last
element of an array.  The actual behavior was to overrun the array.

Fixes: #7482

Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-05-11 19:04:06 -04:00
..
adxl362 drivers/sensors: Switch adxl362 driver to new SPI API 2018-04-04 19:02:35 +02:00
ak8975 drivers: ak8975: Initialise driver with DEVICE_AND_API_INIT 2018-02-05 12:04:20 -06:00
amg88xx sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
apds9960 kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
bma280 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
bmc150_magn kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
bme280 drivers/sensors: Switch bme280 driver to new SPI API 2018-04-04 19:02:35 +02:00
bmg160 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
bmi160 drivers/sensors: Switch bmi160 driver to new SPI API 2018-04-04 19:02:35 +02:00
bmm150 kbuild: Removed KBuild 2017-11-08 20:00:22 -05:00
ccs811 sensors: ccs811: Deassert the reset pin with GPIO 2018-04-09 17:09:06 -05:00
dht sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
fxas21002 boards: dts: Add fxas21002 interrupt bindings and fix sensor sample 2018-05-10 15:43:42 -05:00
fxos8700 boards: dts: Add fxos8700 interrupt bindings and fix sensor sample 2018-05-10 15:43:42 -05:00
hdc1008 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
hmc5883l drivers: hmc5883l: Initialise driver with DEVICE_AND_API_INIT 2018-02-05 12:04:20 -06:00
hp206c sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
hts221 sensors: hts221: Fix a crash due to bad device init 2018-05-09 15:15:50 -05:00
isl29035 drivers: isl29035: Initialise driver with DEVICE_AND_API_INIT 2018-02-05 12:04:20 -06:00
lis2dh drivers/sensors: Switch lis2dh driver to new SPI API 2018-04-04 19:02:35 +02:00
lis3dh sensors: lis3dh: Fix i2c burst read 2018-03-28 10:42:34 -04:00
lis3mdl sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
lps22hb sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
lps25hb sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
lsm6ds0 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
lsm6dsl drivers: sensors: lsm6dsl: Fix array overrun 2018-05-11 19:04:06 -04:00
lsm9ds0_gyro drivers: lsm9ds0_gyro: Initialise driver with DEVICE_AND_API_INIT 2018-02-05 12:04:20 -06:00
lsm9ds0_mfd sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
max30101 dts: sensor: Add dts yaml bindings for the max30101 sensor 2018-01-31 10:17:58 -06:00
max44009 kconfig: fix help syntax and add spaces 2017-12-13 17:43:28 -06:00
mcp9808 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
mpu6050 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
nrf5 drivers: sensor: temp_nrf5: fix sensor type 2018-04-04 12:29:05 -05:00
pms7003 drivers: pms7003: Initialise driver with DEVICE_AND_API_INIT 2018-02-05 12:04:20 -06:00
sht3xd sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
sx9500 drivers: sx9500: Initialise driver with DEVICE_AND_API_INIT 2018-02-05 12:04:20 -06:00
th02 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
tmp007 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
tmp112 sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
vl53l0x sensor: vl53l0x: make xshut pin control optional 2018-05-09 13:18:58 -04:00
CMakeLists.txt drivers: sensor: Add support for CCS811 Digital Gas Sensor 2018-02-06 11:16:26 -05:00
Kconfig drivers: sensor: Add support for CCS811 Digital Gas Sensor 2018-02-06 11:16:26 -05:00
sensor_handlers.c drivers: Perform a runtime check if a driver is capable of an operation 2018-04-26 02:57:12 +05:30