diff options
author | Eric Dong <eric.dong@intel.com> | 2014-06-26 01:39:25 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2014-06-26 01:39:25 +0000 |
commit | 5a18908695b8fb1a0ce325bd29b43d51aa65e07f (patch) | |
tree | 14856ac2fb1f5adf4c83a06427744ac2887e31ec /IntelFrameworkModulePkg/Library | |
parent | 81cd2f536ef0097392b51f96405321ce7b01350c (diff) | |
download | edk2-platforms-5a18908695b8fb1a0ce325bd29b43d51aa65e07f.tar.xz |
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: Jeff Fan <jeff.fan@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15594 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Library')
-rw-r--r-- | IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c index e35c685ed8..6b01529947 100644 --- a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c +++ b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c @@ -323,7 +323,7 @@ ReadPTLen ( UINT16 Index;
UINT32 Mask;
- ASSERT (nn < NPT);
+ ASSERT (nn <= NPT);
//
// Read Extra Set Code Length Array size
//
|