aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRickard Strandqvist <[email protected]>2014-07-27 17:11:18 +0200
committerChristoph Hellwig <[email protected]>2015-01-09 15:44:21 +0100
commit2195d9690464445d0c30ee8170030a8e696f2053 (patch)
tree78b23c3ffd65f7a12bb14992231b92521a44ae12 /tools/perf/scripts/python/export-to-postgresql.py
parentacafd0b920e1a4a94a03f1911b4fb87e2081f235 (diff)
3w-9xxx.c: Cleaning up missing null-terminate in conjunction with strncpy
Replacing strncpy with strlcpy to avoid strings that lacks null terminate. And use the sizeof on the to string rather than strlen on the from string. Signed-off-by: Rickard Strandqvist <[email protected]> Acked-by: Adam Radford <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions