Skip to content

[Coverity CID: 434615] Unsigned compared against 0 in subsys/bluetooth/host/shell/bt.c #99979

@zephyrbot

Description

@zephyrbot

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/main/subsys/bluetooth/host/shell/bt.c

Category: Control flow issues
Function: ead_update_ad
Component: Bluetooth
CID: 434615

Details:

https://github.com/zephyrproject-rtos/zephyr/blob/main/subsys/bluetooth/host/shell/bt.c#L5014

Please fix or provide comments in coverity using the link:

https://scan9.scan.coverity.com/#/project-view/29271/12996?selectedIssue=434615

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

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.

Also see the related Coverity documentation for more information.

Metadata

Metadata

Labels

CoverityA Coverity detected issue or its fixGood first issueGood for a first time contributor to takearea: Bluetootharea: Bluetooth HostBluetooth Host (excluding BR/EDR)bugThe 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