summaryrefslogtreecommitdiff
path: root/drivers/media/radio
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-24 22:35:55 +0400
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-26 13:47:55 +0400
commit64e01cbd9d3e22e38eadeff9e0d251d0d7d1c9d2 (patch)
treeeef9c68d65d7e6e08c65512dbb0a7314dcf77e10 /drivers/media/radio
parent5a9ff85dc176e80c6fb7067dcb807c5e3ff7a913 (diff)
downloadlinux-64e01cbd9d3e22e38eadeff9e0d251d0d7d1c9d2.tar.xz
[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>
Diffstat (limited to 'drivers/media/radio')
0 files changed, 0 insertions, 0 deletions