Skip to content
Commit d720971a authored by Robert Lubos's avatar Robert Lubos Committed by Dan Kalowsky
Browse files

net: coap: Verify block number before processing



Verify if the block number isn't negative before processing it, to
prevent potentially undefined behavior. This was reported by the
undefined behavior sanitizer.

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