Skip to content
Commit 2aeac608 authored by Loic Domaigne's avatar Loic Domaigne Committed by Fabio Baltieri
Browse files

driver: sensor: veml6031 fix untrusted value/array index



Coverity reported potential use of untrusted values / array index. Add
appropriate checks and error reporting when using data->div4, data->gain
and data->itim as value/index.

CID: 516222
CID: 516228
CID: 516248
CID: 516254

Signed-off-by: default avatarLoic Domaigne <tech@domaigne.com>
parent 56a446b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment