Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 8797683f96a1909d74488e19d1bae96228aa3f66 https://github.com/tianocore/edk2/commit/8797683f96a1909d74488e19d1bae96228aa3f66 Author: Bret Barkelew <bret.barke...@microsoft.com> Date: 2019-06-24 (Mon, 24 Jun 2019)
Changed paths: M MdeModulePkg/Core/Pei/Memory/MemoryServices.c Log Message: ----------- MdeModulePkg/PeiMain: PeiAllocatePool: output NULL if HOB creation fails REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1901 The original logic is ASSERT if fail to create HOB. But that doesn't make sense for release version. So it is required to set the Buffer to null to indicate the failure. Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Star Zeng <star.z...@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Sean Brogan <sean.bro...@microsoft.com> Cc: Michael Turner <michael.tur...@microsoft.com> Cc: Bret Barkelew <bret.barke...@microsoft.com> Signed-off-by: Zhichao Gao <zhichao....@intel.com> Reviewed-by: Liming Gao <liming....@intel.com> Acked-by: Hao A Wu <hao.a...@intel.com> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits