upstream: [media] lirc: validate transmission ir data
authorSean Young <sean@mess.org>
Mon, 8 Jul 2013 20:33:11 +0000 (17:33 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:51:31 +0000 (11:51 +0900)
commite8f507a861fe5d70282d406c0e87874ba7cf5db1
tree77f5b07e625da266754dd87f902b325876ef4249
parent8e6d7630efdad45477bdaa8b096f5192e74fb1b4
upstream: [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