diff options
author | Chris Metcalf <[email protected]> | 2015-10-06 12:37:41 -0400 |
---|---|---|
committer | Chris Metcalf <[email protected]> | 2015-10-06 14:53:18 -0400 |
commit | 990486c8af044f89bddfbde1d1cf9fde449bedbf (patch) | |
tree | 145c16309dfc5586b5120d7b7c7d585337e8d5d1 /tools/perf/scripts/python | |
parent | c753bf34c94e5ac901e625e52f47320eeec4de2d (diff) |
strscpy: zero any trailing garbage bytes in the destination
It's possible that the destination can be shadowed in userspace
(as, for example, the perf buffers are now). So we should take
care not to leak data that could be inspected by userspace.
Signed-off-by: Chris Metcalf <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions