commit | c4501300d1819db49c9f52400554b808d6d91327 | [log] [tgz] |
---|---|---|
author | Robert Lubos <robert.lubos@nordicsemi.no> | Thu Mar 26 13:36:39 2020 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Aug 03 16:10:14 2021 -0400 |
tree | 7dbb7cdf4c92210d22c278c199edac152455b1e3 | |
parent | bb2f4a7e4e0e01d1ff2653f2d48cc2f858ce60eb [diff] |
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: Robert Lubos <robert.lubos@nordicsemi.no>