mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
[media] cx231xx: Don't let an interface number to go past the array
On some newer boards, like HVR-930C HD, the information at the PCB tables are sometimes higher than the ones actually available on the device. That causes the probing code to go past the interfaces array. Add checks to the interface number before going past the array. Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
139d28826b
commit
dcb78ac761
1 changed files with 30 additions and 12 deletions
Loading…
Add table
Add a link
Reference in a new issue