aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAmey Telawane <ameyt@codeaurora.org>2016-08-01 16:50:43 +0530
committerRichard Chang <dickchang@google.com>2017-04-11 11:41:43 -0700
commit571cfcd0243c573f1b49836affac0c81307f9f86 (patch)
tree198bca79fbf930be471376ef5faa5f1f5399a32f /tools/perf/scripts/python/event_analyzing_sample.py
parent48bbed52c64fd68c1d071f0ab0ce1473320ddbca (diff)
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 Bug: 35399704 Change-Id: Ib290b25f7e0ff96927b8530e5c078869441d409f Signed-off-by: Amey Telawane <ameyt@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions