diff options
| author | Kees Cook <[email protected]> | 2014-03-13 16:46:00 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2014-03-15 14:45:14 +0000 |
| commit | 598db5816664472e1649ef94b0ba4c5cc1b9f3b4 (patch) | |
| tree | 4b65ace56d7a9e5617dc98bd8af60986affd415c /tools/perf/scripts/python | |
| parent | 24e7d7990179e5ed38e90d78d12c25fa201c618a (diff) | |
iio: force snprintf for PAGE_SIZE bufs
This is a tiny preventative measure to make sure we can't write beyond
PAGE_SIZE on the buffers being used in sysfs for iio. There is currently
no way for this to happen, but the change makes this code more robust
for the future.
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions