summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorAnton Vasilyev <vasilyev@ispras.ru>2018-07-18 10:13:56 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-02 18:53:42 -0400
commit65b40a986fc68cb3b362bb855303b73a2b8538c2 (patch)
tree53f19a19b6c6386c78677aee2a3b57345297d5d3 /drivers/md
parent817dc4b579d897d3f645c11dc255f21642aa99df (diff)
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/md')
0 files changed, 0 insertions, 0 deletions