Skip to content
Commit b173c177 authored by Robert Lubos's avatar Robert Lubos Committed by Jukka Rissanen
Browse files

net: mqtt: Improve PUBLISH message length validation



Identify when received PUBLISH message is malformed and overall packet
length received is smaller than parsed variable header lenght.
Add unit test to cover this case.

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