X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkModulePkg%2FUniversal%2FBdsDxe%2FBootMngr%2FBootManager.c;h=74649f49cea7ced18b4502f669f704f617e0cac9;hp=fdd2befe82c2508e08171e6119b33c0647c2282c;hb=1ace0001356b9798a57a6cb8b87d545f169543fc;hpb=e285199897e538523f762cb5b3900e81f872035a diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c index fdd2befe82..74649f49ce 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c @@ -1,7 +1,7 @@ /** @file The platform boot manager reference implementation -Copyright (c) 2004 - 2008, Intel Corporation.
+Copyright (c) 2004 - 2010, Intel Corporation.
All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -316,6 +316,7 @@ CallBootManager ( BufferSize = StrSize(BootStringNumber); BufferSize += StrSize(HiiString); Option->Description = AllocateZeroPool(BufferSize); + ASSERT (Option->Description != NULL); StrCpy (Option->Description, HiiString); if (StrnCmp (BootStringNumber, L"0", 1) != 0) { StrCat (Option->Description, L" ");