Bluetooth: Mesh: Fix Coverity reports #65402
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The following changes has been done in this PR:
Ignore return value of
settings_delete
.Coverity-CID: 330638
Fixes #65330
Check return value of
bt_conn_get_info
.Coverity-CID: 323094
Fixes #65366
Coverity-CID: 323081
Fixes #65370
Fix async behavior of Private Beacon Client API.
The Private Beacon Client API requires a response argument to allow to call the API in the asynchronous manner (#56426).
Because the removal of the EXPERIMENTAL tag for this API was not released yet, it should be OK to change this API. The EXPERIMENTAL tag has been removed here: #64866
Coverity-CID: 330039
Coverity-CID: 330029
Coverity-CID: 329977
Fixes #65336
Fixes #65338
Fixes #65354
Fix integer overflow
Fix potential integer overflow by casting one of operands to int64_t.
Coverity-CID: 329961
Fixes #65356