[PATCH 3.13.y-ckt 08/30] iio: adis_buffer: Fix out-of-bounds memory access

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lars-Peter Clausen commit d590faf9e8f8509a0a0aa79c38e87fcc6b913248 upstream. The SPI tx and rx buffers are both supposed to be

[PATCH 3.13.y-ckt 08/30] iio: adis_buffer: Fix out-of-bounds memory access

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lars-Peter Clausen commit d590faf9e8f8509a0a0aa79c38e87fcc6b913248 upstream. The SPI tx and rx buffers are both