Skip to content

Conversation

@kbehrends-vincent
Copy link

@kbehrends-vincent kbehrends-vincent commented Jan 21, 2025

Found and fixed undefined behavior in
bme280_get_sensor_mode(), due to uninitialized input variables.
Bug found by static code analysis with the following output:
bme280.c @ Line 664
core.UndefinedBinaryOperatorResult
The left operand of '&' is a garbage value

@kbehrends-vincent kbehrends-vincent marked this pull request as ready for review January 21, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant