aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2017-04-19 09:58:50 +0200
committerLuca Coelho <[email protected]>2017-06-23 00:13:00 +0300
commit40e86a3619a1e84ad73c716c943f65fc38eb1e28 (patch)
tree9aac2e91f4cd3c325bddf31db5fb01ec011fb384 /tools/perf/scripts/python
parenta9c50726ce3279646e2e22314b0917455a3c5e86 (diff)
iwlwifi: mvm: use scnprintf() instead of snprintf()
It's safer to use scnprintf() here because the buffer might be too short for the full format strings. In most cases this isn't true because of external limits on the values. In one case, this fixes a stack data leak. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions