Re: [edk2-devel] [PATCH] ShellPkg/UefiHandleParsingLib: Fix error allocate pool

2019-11-27 Thread Ni, Ray
ly 15, 2019 3:30 PM > > To: devel@edk2.groups.io > > Cc: Carsey, Jaben ; Ni, Ray ; > > Andrew Fish > > Subject: [edk2-devel] [PATCH] ShellPkg/UefiHandleParsingLib: Fix error > allocate > > pool > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=

Re: [edk2-devel] [PATCH] ShellPkg/UefiHandleParsingLib: Fix error allocate pool

2019-11-27 Thread Gao, Zhichao
ay ; > Andrew Fish > Subject: [edk2-devel] [PATCH] ShellPkg/UefiHandleParsingLib: Fix error > allocate > pool > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1965 > > For function InsertNewGuidNameMapping, it rellocate the mGuidList with new > size > "mGuidL

[edk2-devel] [PATCH] ShellPkg/UefiHandleParsingLib: Fix error allocate pool

2019-07-15 Thread Gao, Zhichao
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1965 For function InsertNewGuidNameMapping, it rellocate the mGuidList with new size "mGuidListCount+1 * sizeof(GUID_INFO_BLOCK)". That isn't its purpose and would cause a overflow operation in "mGuidList[mGuidListCount - 1].xxx = xxx". Its purpo