commit | 4ca8ca9b1cefcea961e978470a2bcd74c88ed232 | [log] [tgz] |
---|---|---|
author | Stig Bjørlykke <stig@bjorlykke.org> | Wed Dec 14 22:00:48 2016 +0100 |
committer | Stig Bjørlykke <stig@bjorlykke.org> | Wed Dec 14 22:09:19 2016 +0100 |
tree | 72710b7bbc5471ccd88d4ac2ca8a59fd146ea606 | |
parent | 1589f2ccdd4063f15b7edb425b8bb9c9759f6bb4 [diff] |
iot/mqtt: Fix rlen_decode size check. If receiving a malformed MQTT packet with less than 5 bytes it's possible to get a read one byte behind buf. Change-Id: I34425add57c937c8fd9df5bf7b72af092d6f5f32 Signed-off-by: Stig Bjørlykke <stig@bjorlykke.org>