aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/host/ushc.c
Commit message (Collapse)AuthorAgeFilesLines
* mmc: ushc: fix NULL-deref at probeJohan Hovold2017-06-171-0/+3
| | | | | | | | | | | | | commit 181302dc7239add8ab1449c23ecab193f52ee6ab upstream. Make sure to check the number of endpoints to avoid dereferencing a NULL-pointer should a malicious device lack endpoints. Fixes: 53f3a9e26ed5 ("mmc: USB SD Host Controller (USHC) driver") Cc: David Vrabel <david.vrabel@csr.com> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Willy Tarreau <w@1wt.eu>
* first commitMeizu OpenSource2016-08-151-0/+569