diff options
| author | Dan Carpenter <error27@gmail.com> | 2010-07-22 12:52:02 +0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2010-07-26 23:32:41 +0400 |
| commit | 2189d13f6cfc58627a01d6a91591e59a2fa62902 (patch) | |
| tree | 4d5613993d0e19b2f0c04d4df89061f20a80782a /tools/perf/scripts/python/syscall-counts.py | |
| parent | 9746010bd3c825d364b783b327990d25962657dd (diff) | |
| download | linux-2189d13f6cfc58627a01d6a91591e59a2fa62902.tar.xz | |
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
