commit | 858f1ccff123469fb4257e2529ef8783aabf3b62 | [log] [tgz] |
---|---|---|
author | Michael Hennerich <michael.hennerich@analog.com> | Wed Oct 06 16:22:17 2010 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Oct 06 08:21:28 2010 -0700 |
tree | 49570fa7b2a35e3a0a38bd283ed69f3041bb8d4e | |
parent | 5a505da957fc2f42ce53e5b0234cdf493f4f3ab0 [diff] |
staging: iio: adc: ad799x: prevent buffer overflow ring->access.read_last() reads the entire datum from the ring including padding and time stamp. Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>