Skip to content
Commit 9c605c17 authored by Ravi kumar Veeramally's avatar Ravi kumar Veeramally Committed by Anas Nashif
Browse files

samples: net: Fix out-of-bound access



Payload variable can hold max 64 bytes but value of size can be more
than that. Memsetting using value of size can overrun payload array.
Fixes coverity issue.

Coverity-CID: 187823
Fixes: #9638

Signed-off-by: default avatarRavi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
parent b68cf999
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment