Home
last modified time | relevance | path

Searched hist:a937729c9358f1c66a444af1f4f64ececc9a2f68 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/iio/potentiometer/
H A Dds1803.cdiff a937729c9358f1c66a444af1f4f64ececc9a2f68 Thu Mar 08 19:45:33 CET 2018 Himanshu Jha <himanshujha199640@gmail.com> iio: potentiometer: ds1803: Remove VLA usage

In preparation to enabling -Wvla, remove VLA usage and replace it
with fixed a fixed length array and therefore, prevent potential
stack overflow attacks.

Fixed as a part of the discussion to remove all VLAs from the kernel:
https://lkml.org/lkml/2018/3/7/621

Cc: keescook@chromium.org
Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>