tag | 3671aa4f146d4bb789e9e2cf411341e1c5c78d53 | |
---|---|---|
tagger | Anas Nashif <anas.nashif@intel.com> | Tue Aug 03 16:13:53 2021 -0400 |
object | 34918f1aedad61cbcbb5269966da76ce8457bc31 |
Zephyr 1.14.3-rc1
commit | 34918f1aedad61cbcbb5269966da76ce8457bc31 | [log] [tgz] |
---|---|---|
author | Robert Lubos <robert.lubos@nordicsemi.no> | Thu Mar 26 14:24:36 2020 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Aug 03 16:10:14 2021 -0400 |
tree | 2e081560e03cf67b645e630a012323481155b02c | |
parent | c4501300d1819db49c9f52400554b808d6d91327 [diff] |
net: mqtt: Improve PUBLISH message length validation Identify when received PUBLISH message is malformed and overall packet length received is smaller than parsed variable header lenght. Add unit test to cover this case. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>