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

Skip to content
Commit 40149099 authored by Venkat Gopalakrishnan's avatar Venkat Gopalakrishnan Committed by Can Guo
Browse files

scsi: ufs: validate input args to queuecommand



Make sure to validate the input args to queuecommand to avoid
NULL dereferences.

Change-Id: I803e1cc019a4c5569fed9ee08113e323daab75c8
Signed-off-by: default avatarVenkat Gopalakrishnan <venkatg@codeaurora.org>
[cang@codeaurora.org: resolved trivial merge conflicts and
fixed kernel compilation error by removing cmd_type checking]
Signed-off-by: default avatarCan Guo <cang@codeaurora.org>
parent 2d66615f
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