diff options
| author | Siba Prasad <sibap@codeaurora.org> | 2017-08-02 22:32:18 +0530 |
|---|---|---|
| committer | Siba Prasad <sibap@codeaurora.org> | 2017-08-02 22:44:12 +0530 |
| commit | dde9e2de488a164eaf13e2f8a155beea1d14a2ef (patch) | |
| tree | 31ceb573c99d988109bd56d710a633fd2bad39eb /include/linux/sched.h | |
| parent | 560d31410c7a0eaf2eb37d9e0a020563f6524815 (diff) | |
mmc: card: Fix NULL pointer dereference in mmc_blk_ioctl_rpmb_cmd()
In mmc_blk_ioctl_rpmb_cmd(), if user data copy fails, the card
variable is dereferenced without NULL pointer check.
Adding NULL pointer check in this condition.
Change-Id: If3fd2175946cccaf838768d45de72bc2f5c32f6b
Signed-off-by: Siba Prasad <sibap@codeaurora.org>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions
