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

Skip to content
Commit 137146bd authored by Jaegeuk Kim's avatar Jaegeuk Kim Committed by Pranav Vashi
Browse files

scsi: ufs: read length should give full buffer



ufshcd_read_desc_param() will allocate full-size buffer and give it required
data back. Otherwise, it can cause memory buffer corruption.

Bug: 77551464
Change-Id: I84ed0cd1470c0dcc12f0aff9d631433fe16244e4
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@google.com>
Signed-off-by: default avatarAlexander Winkowski <dereference23@outlook.com>
Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
parent 79110722
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