Skip to content
Snippets Groups Projects
Commit 9a01e6bb authored by Zhang Wei's avatar Zhang Wei
Browse files

[PATCH] 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 c0b927d3
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