Skip to content

Conversation

@jeremydick
Copy link
Contributor

Check that calsens values are valid to prevent integer overflow

Coverity-CID: 524767
Fixes #90481

@github-actions github-actions bot added the area: Input Input Subsystem and Drivers label May 27, 2025
@github-actions github-actions bot requested a review from fabiobaltieri May 27, 2025 19:16
Check that calsens values are valid to prevent integer overflow

Coverity-CID: 524767
Fixes zephyrproject-rtos#90481

Signed-off-by: Jeremy Dick <jdick@pivotint.com>
@jeremydick jeremydick force-pushed the cap12xx_overflow_fix branch from 4dc646b to 0663507 Compare May 27, 2025 19:32
@jeremydick jeremydick requested a review from fabiobaltieri May 27, 2025 19:33
Copy link
Member

@fabiobaltieri fabiobaltieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@fabiobaltieri fabiobaltieri added the Trivial Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc. label May 27, 2025
@sonarqubecloud
Copy link

@kartben kartben merged commit 621f29e into zephyrproject-rtos:main May 27, 2025
29 checks passed
@jeremydick jeremydick deleted the cap12xx_overflow_fix branch October 22, 2025 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Input Input Subsystem and Drivers 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: 524767] Overflowed constant in drivers/input/input_cap12xx.c

4 participants