]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/SetupBrowser:Add NULL check before using a pointer
authorDandan Bi <dandan.bi@intel.com>
Fri, 22 Sep 2017 01:28:28 +0000 (09:28 +0800)
committerHao Wu <hao.a.wu@intel.com>
Fri, 22 Sep 2017 06:58:41 +0000 (14:58 +0800)
commit66918edd34fd2b6edb5f3f7b86bdd40e833d40ff
tree589e15b7edac5305b7ac20d76a954ad0004bc54b
parent96207191fd715e268c6ba6d6ac8650ef914e1686
MdeModulePkg/SetupBrowser:Add NULL check before using a pointer

Add NULL pointer check before using a pointer to avoid possible
NULL pointer dereference.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c