]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Do NULL pointer check before the pointer is used.
authorQiu Shumin <shumin.qiu@intel.com>
Mon, 22 Feb 2016 02:21:38 +0000 (10:21 +0800)
committerQiu Shumin <shumin.qiu@intel.com>
Tue, 23 Feb 2016 02:44:36 +0000 (10:44 +0800)
commite3b76f3b5e80df1219fb4adf0199b9606e84b8e7
treea6a302bf38386656e159e46cac1236050672c20d
parente1695f8dcf18f612d34f6da0a4579a5b7c49ef9b
ShellPkg: Do NULL pointer check before the pointer is used.

Do NULL pointer check before the pointer is used to avoid dereferenced.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
ShellPkg/Library/UefiShellLib/UefiShellLib.c