Skip to content
Commit 02bd8411 authored by Flavio Santes's avatar Flavio Santes Committed by Jukka Rissanen
Browse files

net/mqtt: Validate null or app level zero-length rx buffers



Don't try to process null or zero-length buffers generated by
the IP stack. Zero-length buffers are valid at the TCP layer but
contain no information for applications.

Change-Id: If66d301527f56ca8e8761789b7fd6931fc37b8e0
Signed-off-by: default avatarFlavio Santes <flavio.santes@intel.com>
parent 9e6a6f3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment