Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e756e60 authored by Manoj Prabhu B's avatar Manoj Prabhu B
Browse files

diag: Fix possible buffer corruption by proper typecasting



This patch removes the possibilty of header length and read length
having negative values and thereby possible buffer corruption.

CRs-Fixed: 1002389
Change-Id: Id74650d5c4aaf9f84a56372f60ff5a40374e8f7b
Signed-off-by: default avatarManoj Prabhu B <bmanoj@codeaurora.org>
parent 311cf263
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment