Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f744c423 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Merge tag 'iio-fixes-for-4.4c' of...

Merge tag 'iio-fixes-for-4.4c' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus

Jonathan writes:

3rd set of IIO fixes for the 4.4 cycle.

Only a single fix this time and for a bug that's been in the kernel
since around about the start of 2013 (so no rush!)

* Out-of-bounds memory access in adis core (Analog Devices IMUs)
parents 9f9499ae d590faf9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ int adis_update_scan_mode(struct iio_dev *indio_dev,
		return -ENOMEM;

	rx = adis->buffer;
	tx = rx + indio_dev->scan_bytes;
	tx = rx + scan_count;

	spi_message_init(&adis->msg);