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

Commit 2690da0d authored by Amey Telawane's avatar Amey Telawane Committed by Shiraz Hashim
Browse files

trace: resolve stack corruption due to string copy



Strcpy has no limit on string being copied which causes
stack corruption leading to kernel panic. Use strlcpy to
resolve the issue by providing length of string to be copied.

CRs-fixed: 1048480
Change-Id: Ib290b25f7e0ff96927b8530e5c078869441d409f
Signed-off-by: default avatarAmey Telawane <ameyt@codeaurora.org>
parent 3e75de6f
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