Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit b1a2c51a authored by Anand Saminathan's avatar Anand Saminathan
Browse files

fix(mmc): initialises response buffer with zeros


if ops->send_cmd in mmc_send_cmd returns a non-zero value, r_data
(resp_data in mmc_device_state) is never populated, so the while
condition in mmc_device_state would end up reading the uninitialized
resp_data buffer

Signed-off-by: default avatarAnand Saminathan <anans@google.com>
Change-Id: I72d752867c537d49e111e6d149c3cca122f7dc9f
parent cc933e1d
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment