Skip to content
Snippets Groups Projects
Commit 9a2b5ee3 authored by z00208928's avatar z00208928
Browse files

trace: resolve stack corruption due to string copy


CVE-2017-0605

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 f950cdad
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment