Refine code to make it more safely.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15596 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Eric Dong 2014-06-26 03:17:59 +00:00 committed by ydong10
parent b5f8b5b03d
commit 6afd9f45bb
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
UEFI Decompress Library implementation refer to UEFI specification. UEFI Decompress Library implementation refer to UEFI specification.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
@ -333,6 +333,7 @@ ReadPTLen (
UINT16 Index; UINT16 Index;
UINT32 Mask; UINT32 Mask;
ASSERT (nn <= NPT);
// //
// Read Extra Set Code Length Array size // Read Extra Set Code Length Array size
// //