tools/mesh: Add length checks for rxed messages 38/223838/1
authorInga Stotland <inga.stotland@intel.com>
Sat, 18 Jan 2020 04:22:31 +0000 (20:22 -0800)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 31 Jan 2020 10:23:35 +0000 (15:53 +0530)
commitd63c3ae8cda1cc2a479cbd7e4473e301af240911
tree088709326b0e95bfe43bf51329e47151792187a6
parent8373cf9d6f1c907557ebed2aa921cdc379279a04
tools/mesh: Add length checks for rxed messages

This adds missing validation of received responses.
If the length of a received message does not pass the
validation, it's not processed.

Change-Id: I8682c0e9b8d24ad3498927973fe7a5794e103999
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
tools/mesh/cfgcli.c