Skip to content

[Coverity CID :190619]Memory - illegal accesses in /subsys/bluetooth/host/mesh/settings.c #12314

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 Jan 4, 2019 · 1 comment
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

Comments

@mandarcthorat1
Copy link
Contributor

Static code scan issues seen in File: /subsys/bluetooth/host/mesh/settings.c
Category: Memory - illegal accesses
Function: store_pending_hb_pub
Component: Bluetooth
CID: 190619
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 Jan 4, 2019
@jhedberg
Copy link
Member

jhedberg commented Jan 4, 2019

Looks like this was introduced by commit bfad2a0 from @nvlsianpu

jhedberg pushed a commit to jhedberg/zephyr that referenced this issue Jan 4, 2019
This fixes usage of an uninitialized variable (to_store) as introduced
by commit bfad2a0.

Fixes zephyrproject-rtos#12314

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
Projects
None yet
Development

No branches or pull requests

3 participants