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

net: mqtt: Improve buffer bounds validation in mqtt_read_message_chunk



Verify more strictly that data read from the transport fits into RX
buffer. Switch to unsigned integers, where possible, to prevent
unnecessary signed/unsigned operations.

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