Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62773136 authored by Siba Prasad's avatar Siba Prasad Committed by Pradeep P V K
Browse files

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: default avatarSiba Prasad <sibap@codeaurora.org>
Signed-off-by: default avatarPradeep P V K <ppvk@codeaurora.org>
parent 15208b86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment