diff options
author | 2012-04-11 23:31:45 +0300 | |
---|---|---|
committer | 2012-05-09 20:47:37 -0400 | |
commit | 1c02f000e78347aa51822feb189fcb0d90273958 (patch) | |
tree | 43ed41f00fd81354ced9e0bab29b19a78ec6e157 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | mmc: core: Prevent eMMC VCC supply to be cut from late init (diff) | |
download | wireguard-linux-1c02f000e78347aa51822feb189fcb0d90273958.tar.xz wireguard-linux-1c02f000e78347aa51822feb189fcb0d90273958.zip |
mmc: card: Avoid null pointer dereference
After the null check on md the code jumped to cmd_done, which then
will dereference md in mmc_blk_put. This patch avoids the possible
null pointer dereference in that case.
Signed-off-by: Philippe De Swert <philippedeswert@gmail.com>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions