mirror of https://github.com/acidanthera/audk.git
add security check
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8088 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9f35431085
commit
11171f0300
|
@ -1,7 +1,7 @@
|
|||
/** @file
|
||||
This module provide help function for displaying unicode string.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation<BR>
|
||||
Copyright (c) 2006 - 2009, Intel Corporation<BR>
|
||||
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
|
||||
|
@ -392,6 +392,7 @@ CreatePopUp (
|
|||
// Allocate a buffer for a single line of the popup with borders and a Null-terminator
|
||||
//
|
||||
Line = AllocateZeroPool ((MaxLength + 3) * sizeof (CHAR16));
|
||||
ASSERT (Line != NULL);
|
||||
|
||||
//
|
||||
// Draw top of popup box
|
||||
|
|
Loading…
Reference in New Issue