summaryrefslogtreecommitdiff
path: root/drivers/media/usb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-05 09:34:12 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-05 09:34:12 -0200
commitb9f62ffe05e4019da205d6fec244226b191c5242 (patch)
tree5dfe4fabb1b86c4248a930407970b02e234233f9 /drivers/media/usb
parentfb9b1641ba30385e1c142ecef2b631d31a881fd1 (diff)
[media] stb0899: don't go past DiSEqC msg buffer
As reported by spatch: drivers/media/dvb-frontends/stb0899_drv.c:720 stb0899_send_diseqc_msg() error: buffer overflow 'cmd->msg' 6 <= 7 The buffer size is 6 and not 8. Anyway, the best is to use sizeof(), to avoid such mistakes. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions