summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2016-07-22 10:36:29 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-29 01:16:35 +0200
commit292eaf50c7df4ae2ae8aaa9e1ce3f1240a353ee8 (patch)
tree2f15beb3e5ff2268fda5c96b62916a2d3ee6701e /Documentation
parent[media] staging: add MEDIA_SUPPORT dependency (diff)
downloadlinux-292eaf50c7df4ae2ae8aaa9e1ce3f1240a353ee8.tar.xz
linux-292eaf50c7df4ae2ae8aaa9e1ce3f1240a353ee8.zip
[media] cec: fix off-by-one memset
The unused bytes of the features array should be zeroed, but the start index was one byte too early. This caused the device features byte to be overwritten by 0. The compliance test for the CEC_S_LOG_ADDRS ioctl didn't catch this because it tested byte continuation with the second device features byte being 0 :-( Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions