]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SdDxe: Check the Token to avoid null pointer
authorGuomin Jiang <guomin.jiang@intel.com>
Thu, 26 Mar 2020 06:35:54 +0000 (14:35 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 27 Mar 2020 01:04:25 +0000 (01:04 +0000)
commit695d90b9b156573d0dafb20afecea09dc9a914f4
tree03927ed93057e8e1e5be2d0639109cf7f5954324
parenta1c35ff312efb1452427e695d58fb1f26b67661e
MdeModulePkg/SdDxe: Check the Token to avoid null pointer

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2286

Token pointer may be NULL, it should be checked before use it.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Sd/SdDxe/SdBlockIo.c