aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-07-22 10:52:02 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-07-26 15:32:41 -0400
commit2189d13f6cfc58627a01d6a91591e59a2fa62902 (patch)
tree4d5613993d0e19b2f0c04d4df89061f20a80782a /tools/perf/scripts/python/check-perf-trace.py
parent9746010bd3c825d364b783b327990d25962657dd (diff)
ath5k: snprintf() returns largish values
snprintf() returns the number of characters that would have been written (not counting the NUL character). So we can't use it as the limiter to simple_read_from_buffer() without capping it first at sizeof(buf). Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions