[media] rtl28xxu: fix buffer overflow when probing Rafael Micro r820t tuner
authorGianluca Gennari <gennarone@gmail.com>
Sun, 2 Jun 2013 20:24:24 +0000 (17:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Jun 2013 18:25:34 +0000 (15:25 -0300)
As suggested by Antti, this patch replaces:
https://patchwork.kernel.org/patch/2649861/
The buffer overflow is fixed by reading only the r820t ID register.

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found