Skip to content
Commit 93c426e7 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

samples: net: zperf: Check UDP pkt before accessing it



Check that we do not try to access fragment when UDP packet is
received if pkt is NULL. In practice this should not happen for
UDP but do the checks in proper order anyway.

Coverity-CID: 179252
Fixes #5057

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent f7f671d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment