Skip to content

charger: axp2101: Guards against out-of-bounds read #90697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025

Conversation

rriveramcrus
Copy link
Collaborator

Corrects the out-of-bounds check when reading
constant_charge_voltage_lut

Corrects the out-of-bounds check when reading
constant_charge_voltage_lut

Signed-off-by: Ricardo Rivera-Matos <ricardo.rivera-matos@cirrus.com>
@rriveramcrus rriveramcrus marked this pull request as ready for review May 27, 2025 21:51
@github-actions github-actions bot added size: XS A PR changing only a single line of code area: Charger labels May 27, 2025
Copy link

@kartben kartben added Coverity A Coverity detected issue or its fix Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. labels May 28, 2025
@kartben
Copy link
Collaborator

kartben commented May 28, 2025

@rriveramcrus thanks for the quick turn around on all the coverity issues! :)

@kartben kartben merged commit 2bb7fcc into zephyrproject-rtos:main May 28, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Charger Coverity A Coverity detected issue or its fix size: XS A PR changing only a single line of code Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID: 520284] Out-of-bounds read in drivers/charger/charger_axp2101.c
3 participants