-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Bluetooth: ipsp: Fix not checking return of build_reply #15004
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
Conversation
@Vudentz is there not a matching GitHub issue for this? AFAIK one was created for all Coverity issues. Please reference it so that it gets automatically closed once this PR is merged. |
I probably miss that then, will take a look. |
@jhedberg updated with issue number. |
net_pkt_sendto uses size_t as parameter for len so the value would be treat as unsigned which may cause and invalid memory to be read. Fixes zephyrproject-rtos#14950 zephyrproject-rtos#14955 Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #15004 +/- ##
=======================================
Coverage 52.92% 52.92%
=======================================
Files 309 309
Lines 45268 45268
Branches 10451 10451
=======================================
Hits 23956 23956
Misses 16544 16544
Partials 4768 4768 Continue to review full report at Codecov.
|
net_pkt_sendto uses size_t as parameter for len so the value would be
treat as unsigned which may cause and invalid memory to be read.
Fixes #14950
Fixes #14955
Signed-off-by: Luiz Augusto von Dentz [email protected]