Skip to content
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

[Backport v3.7-branch] serial: uart_async_rx: Avoid possible division by zero #76372

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

zephyrbot
Copy link
Collaborator

@zephyrbot zephyrbot commented Jul 27, 2024

Backport 5822267 from #75905.

Fixes #66800.

Ensures that config->but_cnt is not zero.

Fixes #66800
CID #338107

Signed-off-by: Flavio Ceolin <[email protected]>
(cherry picked from commit 5822267)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues size: XS A PR changing only a single line of code area: UART Universal Asynchronous Receiver-Transmitter labels Jul 27, 2024
@zephyrbot zephyrbot requested a review from dcpleung July 27, 2024 12:15
@nashif nashif merged commit 062d4d5 into v3.7-branch Sep 17, 2024
29 of 30 checks passed
@nashif nashif deleted the backport-75905-to-v3.7-branch branch September 17, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: UART Universal Asynchronous Receiver-Transmitter Backport Backport PR and backport failure issues size: XS A PR changing only a single line of code
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants