Skip to content
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

[Coverity CID :186581] Memory - corruptions in /subsys/bluetooth/host/gatt.c #8415

Closed
mandarcthorat1 opened this issue Jun 15, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@mandarcthorat1
Copy link
Contributor

commented Jun 15, 2018

Static code scan issues seen in File: /subsys/bluetooth/host/gatt.c
Category: Memory - corruptions
Function: bt_gatt_notify
Component: Bluetooth
CID: 186581
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

@Vudentz

This comment has been minimized.

Copy link
Collaborator

commented Jun 18, 2018

I guess it is this issue:

'Overrunning struct type bt_uuid_16 of 4 bytes by passing it to a function which accesses it at byte offset 16.'

That shall be considered a false positive, if the type is different then uuid128_cmp is used so I wonder why Coverity is not able to detect it.

@Vudentz Vudentz closed this Jun 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.