Skip to content

[Coverity CID: 338107] Division or modulo by zero in subsys/shell/backends/shell_uart.c #66800

Closed
@zephyrbot

Description

@zephyrbot

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/master/subsys/shell/backends/shell_uart.c

Category: Integer handling issues
Function: async_init
Component: Shell
CID: 338107

Details:

https://github.com/zephyrproject-rtos/zephyr/blob/master/subsys/shell/backends/shell_uart.c#L248

Please fix or provide comments in coverity using the link:

https://scan9.scan.coverity.com/reports.htm#v29271/p12996.

For more information about the violation, check the Coverity Reference. (CWE-369)

Note: This issue was created automatically. Priority was set based on classification
of the file affected and the impact field in coverity. Assignees were set using the MAINTAINERS file.

Metadata

Metadata

Assignees

Labels

CoverityA Coverity detected issue or its fixarea: ShellShell subsystembugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions