Re: [edk2] [PATCH] FatPkg/FatPei/Gpt.c: Fix uninitialized variable issue

2019-02-01 Thread Gao, Liming
Reviewed-by: Liming Gao > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Chen A > Chen > Sent: Friday, February 1, 2019 10:21 AM > To: edk2-devel@lists.01.org > Cc: Wu, Hao A > Subject: [edk2] [PATCH] FatPkg/FatPei/Gpt

[edk2] [PATCH] FatPkg/FatPei/Gpt.c: Fix uninitialized variable issue

2019-01-31 Thread Chen A Chen
Uninitialized pointer variable may randomly point to a block of memory. In This case, FreePool function will free a block of memory that is not belongs to this function. Cc: Ruiyu Ni Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Chen A Chen ---