tree 2f15beb3e5ff2268fda5c96b62916a2d3ee6701e parent cd70c37b5a23eee7aa411205e2b4c74097f52336 author Hans Verkuil 1469176589 -0300 committer Mauro Carvalho Chehab 1469747795 -0300 [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 Signed-off-by: Mauro Carvalho Chehab