Home
last modified time | relevance | path

Searched hist:"598 db5816664472e1649ef94b0ba4c5cc1b9f3b4" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/
H A Dindustrialio-core.cdiff 598db5816664472e1649ef94b0ba4c5cc1b9f3b4 Thu Mar 13 17:46:00 CET 2014 Kees Cook <keescook@chromium.org> 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>