Commit a583ac40 authored by Khanjan Desai's avatar Khanjan Desai
Browse files

llstats: Add negative length check befor memcpy

In Peer type message, the length of memcpy depends on
multiple data which can cause overflow due to corruption.
Added check for the length variable to properly perform
memcpy without overflow.

Change-Id: I0e641a09af920e5d3db6fb3f2f526533907f74f9
CRs-Fixed: 2836818
parent 4f13ef5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment