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

Skip to content
Commit e1255386 authored by Amey Telawane's avatar Amey Telawane Committed by Gerrit - the friendly Code Review server
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 272879fc
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