commit | bf3240bada0211b4a555d75f027181c8432b2d20 | [log] [tgz] |
---|---|---|
author | Stefan Wahren <stefan.wahren@i2se.com> | Sat Mar 25 13:17:00 2017 +0000 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Apr 24 21:41:53 2017 +0200 |
tree | 830e85cb32866e6278852d24b9d67b2f39df9abd | |
parent | feeef096a770d288c943c1759785bd9d4f9247b7 [diff] |
mmc: bcm2835: Fix possible NULL ptr dereference in bcm2835_request This fixes a NULL pointer dereference in case of a MMC request with a set block count command and no data. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Tested-by: Peter Robinson <pbrobinson@gmail.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>