Commit 87ab975f authored by Khanjan Desai's avatar Khanjan Desai Committed by Victor Hsu
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.

Bug: 183447882
Change-Id: I0e641a09af920e5d3db6fb3f2f526533907f74f9
CRs-Fixed: 2907367
parent 4109454d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment