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

Skip to content
Commit 360f8047 authored by Lakshay Verma's avatar Lakshay Verma
Browse files

diag: Prevent out-of-bound read while processing peripheral ctrl_pkt



There is a possibility of out-of-bound access while processing control
packet received from peripheral due to missing buffer length check.
The patch adds proper check to fix the same.

Change-Id: I6793a47ca21c6e0ba52863a350decb90feb81a88
Signed-off-by: default avatarLakshay Verma <laksverm@codeaurora.org>
parent f0d0d92d
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