Skip to content
Commit 6bfeb4fe authored by Robert Lubos's avatar Robert Lubos Committed by Fabio Baltieri
Browse files

net: lwm2m: senml_cbor: Verify data len before calling memcpy



Check if there actually is data to copy before calling memcpy() to
prevent potentially calling memcpy() with NULL value pointer.

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