Skip to content
Commit 34918f1a authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
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 c4501300
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment