![]() This was originally reported by Craig Markwardt on Zubair Lutfullah's blog and Zubair forwarded it to linux-iio@vger.kernel.org. No email address known. The code first counted the number of enabled channels, then created an array to hold information about them. The code that filled this array then stored whether a given element was enabled inside the array. Curriously this element was never used. Craig's patch added a local temporary variable to avoid the buffer overrun. Jonathan then removed the original enabled element of the structure as it was not needed at all. Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org> |
||
---|---|---|
.. | ||
dac | ||
light | ||
device.txt | ||
generic_buffer.c | ||
iio_event_monitor.c | ||
iio_utils.h | ||
inkernel.txt | ||
overview.txt | ||
ring.txt | ||
sysfs-bus-iio-ad7192 | ||
sysfs-bus-iio-adc-ad7280a | ||
sysfs-bus-iio-dds | ||
sysfs-bus-iio-impedance-analyzer-ad5933 | ||
sysfs-bus-iio-light | ||
sysfs-bus-iio-light-tsl2583 | ||
sysfs-bus-iio-trigger-sysfs | ||
trigger.txt |