Skip to content

[Coverity CID :188169] Null pointer dereferences in /subsys/net/ip/rpl.c #10094

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 Sep 19, 2018 · 1 comment
Closed
Assignees
Labels
area: Networking 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/net/ip/rpl.c
Category: Null pointer dereferences
Function: dio_timer
Component: Networking
CID: 188169
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: Networking bug The issue is a bug, or the PR is fixing a bug Coverity A Coverity detected issue or its fix labels Sep 19, 2018
@nashif nashif added the priority: medium Medium impact/importance bug label Sep 19, 2018
satyacube added a commit to satyacube/zephyr that referenced this issue Oct 2, 2018
Check for NULL IPv6 addr values from net_if_ipv6_get_ll() in rpl.c
If NULL, print a debug statement

Fixes zephyrproject-rtos#10094.

Signed-off-by: Satya Bhattacharya <[email protected]>
@satyacube satyacube mentioned this issue Oct 2, 2018
@satyacube
Copy link
Contributor

#10327

satyacube added a commit to satyacube/zephyr that referenced this issue Oct 3, 2018
Check for NULL IPv6 addr values from net_if_ipv6_get_ll() in rpl.c
If NULL, print a debug statement

Fixes zephyrproject-rtos#10094.

Signed-off-by: Satya Bhattacharya <[email protected]>
satyacube added a commit to satyacube/zephyr that referenced this issue Oct 16, 2018
Check for NULL IPv6 addr values from net_if_ipv6_get_ll() in rpl.c
If NULL, print out an error statement stating that no proper IPv6
address was found
Coverity-CID: 188169

Fixes zephyrproject-rtos#10094.

Signed-off-by: Satya Bhattacharya <[email protected]>
jukkar pushed a commit that referenced this issue Oct 17, 2018
Check for NULL IPv6 addr values from net_if_ipv6_get_ll() in rpl.c
If NULL, print out an error statement stating that no proper IPv6
address was found
Coverity-CID: 188169

Fixes #10094.

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

4 participants