commit | dc8f52643d494eaa844002ca866d30fda142db4f | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Oct 26 17:27:43 2011 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Sat Nov 26 16:30:31 2011 -0800 |
tree | fdfa4efad5f3e435378f9b62b95e70a66f18f90b | |
parent | 0403e0d643809f1608448ada38a1877f26b7bf5d [diff] |
staging:iio:events: Make sure userspace buffer is large enough Make sure that the userspace buffer is large enough to hold a iio_event_data struct before writing to it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>