Skip to content
Commit 2d49ef26 authored by Robert Lubos's avatar Robert Lubos Committed by Daniel DeGrasse
Browse files

tests: net: socket: udp: Don't call memset() on a NULL pointer



cmsgbuf pointer can be NULL, therefore verify that before calling
memset() on it.

Signed-off-by: default avatarRobert Lubos <robert.lubos@nordicsemi.no>
parent 62a5260e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment