From 34b0820ec68fc1defe097543b57a25d8ead0eb8f Mon Sep 17 00:00:00 2001 From: gikidy Date: Fri, 9 Jan 2009 07:23:31 +0000 Subject: 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 --- MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.c | 1 + MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'MdePkg/Library/BaseUefiDecompressLib') 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 -- cgit v1.2.3