]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/OpalPassword: Add NULL pointer check before using it
authorEric Dong <eric.dong@intel.com>
Thu, 14 Feb 2019 06:53:14 +0000 (14:53 +0800)
committerEric Dong <eric.dong@intel.com>
Thu, 14 Feb 2019 06:53:14 +0000 (14:53 +0800)
commitd72d8561fbe03a64e01c2ad57a93777de4b9ae2f
tree957503da077f6426f4ad3790a6b038ad49af1e76
parent315873959ec3e0a44168efdf4c03fe6160121cdb
SecurityPkg/OpalPassword: Add NULL pointer check before using it

https://bugzilla.tianocore.org/show_bug.cgi?id=1503
A pointer variable should be checked if it is NULL or Valid before
using it.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Maggie Chu <maggie.chu@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
SecurityPkg/Tcg/Opal/OpalPassword/OpalDriver.c