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