diff options
author | Anton Vasilyev <vasilyev@ispras.ru> | 2018-07-18 17:13:56 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-08-03 01:53:42 +0300 |
commit | 65b40a986fc68cb3b362bb855303b73a2b8538c2 (patch) | |
tree | 53f19a19b6c6386c78677aee2a3b57345297d5d3 /drivers/media/dvb-frontends/mn88443x.h | |
parent | 817dc4b579d897d3f645c11dc255f21642aa99df (diff) | |
download | linux-65b40a986fc68cb3b362bb855303b73a2b8538c2.tar.xz |
media: dm1105: Limit number of cards to avoid buffer over read
dm1105_probe() counts number of cards at dm1105_devcount,
but missed bounds check before dereference a card array.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Anton Vasilyev <vasilyev@ispras.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/mn88443x.h')
0 files changed, 0 insertions, 0 deletions