diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-27 04:56:54 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-27 04:56:54 +0000 |
commit | bd37f9718f9346bc4873390c6e84b37ed57190ad (patch) | |
tree | 5d0e9a328e652ffefdafb105be3c8c448d7d8529 /MdeModulePkg/Universal | |
parent | b1a4c981ecada2b0043e17f9093b62eedb58611f (diff) | |
download | edk2-platforms-bd37f9718f9346bc4873390c6e84b37ed57190ad.tar.xz |
Add ASSERT() check for StringInfoIn structure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7968 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/HiiDatabaseDxe/Font.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c b/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c index 6d46fd1e36..dfb21673fd 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/Font.c @@ -2545,7 +2545,11 @@ HiiGetFontInfo ( goto Exit;
}
}
-
+
+ //
+ // StringInfoIn must not be NULL if it is not system default font info.
+ //
+ ASSERT (StringInfoIn != NULL);
//
// Check the font information mask to make sure it is valid.
//
|