diff options
author | Kees Cook <keescook@chromium.org> | 2014-03-13 17:46:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-03-15 15:45:14 +0100 |
commit | 598db5816664472e1649ef94b0ba4c5cc1b9f3b4 (patch) | |
tree | 4b65ace56d7a9e5617dc98bd8af60986affd415c /Documentation/devicetree/bindings/iio/proximity | |
parent | staging: cxt1e1: Removed assignments from if statements. (diff) | |
download | linux-598db5816664472e1649ef94b0ba4c5cc1b9f3b4.tar.xz linux-598db5816664472e1649ef94b0ba4c5cc1b9f3b4.zip |
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 <keescook@chromium.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/proximity')
0 files changed, 0 insertions, 0 deletions