]> git.baikalelectronics.ru Git - kernel.git/commit
[media] lirc: validate transmission ir data
authorSean Young <sean@mess.org>
Mon, 8 Jul 2013 20:33:11 +0000 (17:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 30 Jul 2013 20:03:16 +0000 (17:03 -0300)
commitee16ee4edb5e0727ef7bd2b81c420272b3aab1ab
tree51acef42c7d8c85ddb15ccf5a277a2c4a63ef7ee
parentf67827ce55c4ef6ff5972c733d5e109bb16a386b
[media] lirc: validate transmission ir data

The lirc interface allows 255 u32 spaces and pulses, which are usec. If
the driver can handle this (e.g. winbond-cir) you can produce hours of
meaningless IR data and there is no method of interrupting it.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/ir-lirc-codec.c