Commit 746ea32
drivers: sensor: bosch: bme680: fix: possible overflowed value return value
- Check if value exceeds limits of the variable
Signed-off-by: Fabian Barraez <[email protected]>1 parent 6888aba commit 746ea32
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
0 commit comments