linux_dsm_epyc7002/drivers/media/parport
Mauro Carvalho Chehab 64e01cbd9d [media] pms: Fix a bad usage of the stack
As warned by smatch:
	drivers/media/parport/pms.c:632:21: warning: Variable length array is used.

The pms driver is doing something really bad: it is using the
stack to read data into a buffer whose size is given by the
user by the read() syscall. Replace it by a dynamically allocated
buffer.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-26 06:47:55 -03:00
..
bw-qcam.c [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
c-qcam.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
Kconfig
Makefile
pms.c [media] pms: Fix a bad usage of the stack 2014-09-26 06:47:55 -03:00
w9966.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00