[Coverity CID: 434580] Untrusted divisor in drivers/sensor/bosch/bmp180/bmp180.c #81967
Labels
area: Sensors
Sensors
bug
The issue is a bug, or the PR is fixing a bug
Coverity
A Coverity detected issue or its fix
priority: medium
Medium impact/importance bug
Static code scan issues found in file:
https://github.com/zephyrproject-rtos/zephyr/tree/b1def7145fd/drivers/sensor/bosch/bmp180/bmp180.c
Category: Insecure data handling
Function:
bmp180_press_channel_get
Component: Drivers
CID: 434580
Details:
https://github.com/zephyrproject-rtos/zephyr/blob/b1def7145fd/drivers/sensor/bosch/bmp180/bmp180.c#L350
Please fix or provide comments in coverity using the link:
https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=434580
For more information about the violation, check the Coverity Reference. (CWE-369)
Note: This issue was created automatically. Priority was set based on classification
of the file affected and the impact field in coverity. Assignees were set using the MAINTAINERS file.
The text was updated successfully, but these errors were encountered: