summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseUefiDecompressLib
diff options
context:
space:
mode:
authorgikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-09 07:23:31 +0000
committergikidy <gikidy@6f19259b-4bc3-4df7-8a09-765794883524>2009-01-09 07:23:31 +0000
commit34b0820ec68fc1defe097543b57a25d8ead0eb8f (patch)
tree233ccfdd0ae4620c3a53c693fc91199e6ec6ce52 /MdePkg/Library/BaseUefiDecompressLib
parentec7def69bfacfc6483d9aafe313c1d803e72a111 (diff)
downloadedk2-34b0820ec68fc1defe097543b57a25d8ead0eb8f.tar.gz
edk2-34b0820ec68fc1defe097543b57a25d8ead0eb8f.tar.bz2
edk2-34b0820ec68fc1defe097543b57a25d8ead0eb8f.zip
INF file verified, and Coding Style reviewed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7232 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseUefiDecompressLib')
-rw-r--r--MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c1
-rw-r--r--MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf4
2 files changed, 3 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
index f32eac49bf..a4b271ba04 100644
--- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
+++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c
@@ -158,6 +158,7 @@ MakeTable (
}
for (Index = 0; Index < NumOfChar; Index++) {
+ ASSERT (BitLen[Index] != 0);
Count[BitLen[Index]]++;
}
diff --git a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
index dbbd3ac17c..28b7043cc2 100644
--- a/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
+++ b/MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf
@@ -1,7 +1,7 @@
#/** @file
-# UEFI Decompress Library implementation.
+# UEFI Decompress Library implementation.
#
-# Copyright (c) 2007 - 2008, Intel Corporation.
+# Copyright (c) 2007 - 2008, 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