Skip to content
Commit 1ad165a6 authored by Robert Lubos's avatar Robert Lubos Committed by Jukka Rissanen
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 70e2836f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment