Skip to content
Commit bb2f4a7e authored by Robert Lubos's avatar Robert Lubos Committed by Anas Nashif
Browse files

net: mqtt: Fix packet length decryption



The standard allows up to 4 bytes of packet length data, while current
implementation parsed up to 5 bytes.

Add additional unit test, which verifies that error is reported in case
of invalid packet length.

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