[media] rc: fix buffer overrun
authorSean Young <sean@mess.org>
Thu, 23 Aug 2012 20:18:25 +0000 (17:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 15 Sep 2012 14:51:28 +0000 (11:51 -0300)
commit586c61fd88655dfb8373ad96c03464c494667952
tree8a7f99e565c374577496eb6484932c786704fcc0
parentb0c47e1ec2a5d66df4ef5d34055a919140aa386a
[media] rc: fix buffer overrun

"[media] rc-core: move timeout and checks to lirc" introduced a buffer
overrun by passing the number of bytes, rather than the number of samples,
to the transmit function.

Signed-off-by: Sean Young <sean@mess.org>
Acked-by: David Härdeman <david@hardeman.nu>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/rc/ir-lirc-codec.c