commit | b9f62ffe05e4019da205d6fec244226b191c5242 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Nov 05 09:34:12 2014 -0200 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Nov 05 09:34:12 2014 -0200 |
tree | 5dfe4fabb1b86c4248a930407970b02e234233f9 | |
parent | fb9b1641ba30385e1c142ecef2b631d31a881fd1 [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>