]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Application/CapsuleApp/CapsuleDump.c
MdeModulePkg/CapsuleApp: Fix potential NULL pointer dereference issue
authorChen A Chen <chen.a.chen@intel.com>
Mon, 11 Feb 2019 06:07:29 +0000 (14:07 +0800)
committerLiming Gao <liming.gao@intel.com>
Tue, 12 Feb 2019 03:03:41 +0000 (11:03 +0800)
commit1a35dd723bbf9333a11f6397dac77f1a5dadd3c5
tree6df1572a28b2ce7e7de12043ad5948ed4f51d436
parent06516768ed3b9429fcfb4fb082bfd8b569b47d25
MdeModulePkg/CapsuleApp: Fix potential NULL pointer dereference issue

To avoid potential NULL pointer dereference issue. Initialize them at
the beginning of the function. This patch is a supplement which was missed
at e98212cb5d59fff8f385d9179ad7f1a3ce9cf215 commit.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao Wu <hao.a.wu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Chen A Chen <chen.a.chen@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
MdeModulePkg/Application/CapsuleApp/CapsuleDump.c
MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c