android_kernel_lge_bullhead/drivers/staging/nanohub
Ben Fennema 03e7d8c864 nanohub: fix out of bounds write in nanohub_spi_read
SPI_MIN_DMA can cause a request for greater than the number
of bytes needed to complete a packet. Limit the number of bytes
copied into the rx buffer by the rx buffer length.

Bug: 35804737
Change-Id: Ibb02272fa549879f716519f541bff656104f8a1c
Signed-off-by: Ben Fennema <fennema@google.com>
Signed-off-by: Siqi Lin <siqilin@google.com>
2017-03-01 15:40:37 -08:00
..
Kconfig
Makefile
bl.c
bl.h
comms.c nanohub: send one large spi transaction for cmd + response 2016-04-20 21:58:56 +00:00
comms.h nanohub: send one large spi transaction for cmd + response 2016-04-20 21:58:56 +00:00
i2c.c
i2c.h
main.c nanohub: increase wakeup sensor sample wakelock from 10ms to 250ms 2016-05-13 14:14:56 -07:00
main.h ANDROID: nanohub: force correct state of wakeup signal 2016-04-22 12:13:45 -07:00
spi.c nanohub: fix out of bounds write in nanohub_spi_read 2017-03-01 15:40:37 -08:00
spi.h