Skip to content

[Coverity CID: 434639] Unchecked return value in subsys/bluetooth/mesh/pb_gatt_srv.c #90727

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

Closed
zephyrbot opened this issue May 28, 2025 · 1 comment
Assignees
Labels
area: Bluetooth Mesh area: Bluetooth bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix priority: medium Medium impact/importance bug

Comments

@zephyrbot
Copy link
Collaborator

Static code scan issues found in file:

https://github.com/zephyrproject-rtos/zephyr/tree/18b14e7a2c309679fd7c69e9d953cfe83376754e/subsys/bluetooth/mesh/pb_gatt_srv.c

Category: Error handling issues
Function: bt_mesh_pb_gatt_srv_disable
Component: Bluetooth
CID: 434639

Details:

bt_gatt_service_unregister(&prov_svc);

Please fix or provide comments in coverity using the link:

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

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

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.

@zephyrbot zephyrbot added bug The issue is a bug, or the PR is fixing a bug priority: medium Medium impact/importance bug area: Bluetooth Coverity A Coverity detected issue or its fix area: Bluetooth Mesh labels May 28, 2025
@zephyrbot
Copy link
Collaborator Author

This coverity CID is not in the outstanding issues anymore, code might have changed or issue was resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Bluetooth Mesh area: Bluetooth bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix priority: medium Medium impact/importance bug
Projects
None yet
Development

No branches or pull requests

2 participants