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

tests: net: icmpv4: Test NULL ptr in proper time #21742

Merged

Conversation

jukkar
Copy link
Member

@jukkar jukkar commented Jan 7, 2020

The code tried to use the allocated pkt ptr before checking for
NULL value.

Fixes #21699
Coverity-CID: 206608

Signed-off-by: Jukka Rissanen [email protected]

The code tried to use the allocated pkt ptr before checking for
NULL value.

Fixes zephyrproject-rtos#21699
Coverity-CID: 206608

Signed-off-by: Jukka Rissanen <[email protected]>
@zephyrbot zephyrbot added the area: Tests Issues related to a particular existing or missing test label Jan 7, 2020
@jukkar jukkar merged commit 0b7844e into zephyrproject-rtos:master Jan 7, 2020
@jukkar jukkar deleted the issue-21699-deref-null-icmpv4-tests branch January 7, 2020 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking area: Tests Issues related to a particular existing or missing test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Coverity CID :206608] Dereference null return value in tests/net/icmpv4/src/main.c
3 participants