Skip to content

[Coverity CID :190961]Error handling issues in /subsys/bluetooth/host/mesh/prov.c #13855

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
mandarcthorat1 opened this issue Feb 27, 2019 · 3 comments
Assignees
Labels
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

@mandarcthorat1
Copy link
Contributor

Static code scan issues seen in File: /subsys/bluetooth/host/mesh/prov.c
Category: Error handling issues
Function: prov_data
Component: Bluetooth
CID: 190961
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

@mandarcthorat1 mandarcthorat1 added area: Bluetooth bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix labels Feb 27, 2019
@galak galak added the priority: medium Medium impact/importance bug label Feb 27, 2019
@jhedberg
Copy link
Member

This is marked as fixed by #12338 in Coverity. Why was this issue opened?

@mandarcthorat1
Copy link
Contributor Author

Commit was not fixing the issue reported by coverity. The problem is still valid and detected by latest scan

@jhedberg
Copy link
Member

@mandarcthorat1 seems like I may have gotten two different issues mixed up. Anyway, this is a simple fix - will submit a PR in a moment.

jhedberg pushed a commit to jhedberg/zephyr that referenced this issue Mar 13, 2019
There isn't much we can do if this fails, but at least log an error
about it.

Fixes zephyrproject-rtos#13855

Signed-off-by: Johan Hedberg <[email protected]>
galak pushed a commit that referenced this issue Mar 13, 2019
There isn't much we can do if this fails, but at least log an error
about it.

Fixes #13855

Signed-off-by: Johan Hedberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

3 participants