]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiPalLib/UefiPalLib.c
MdePkg/BaseSafeIntLib: fix undefined behavior in SafeInt64Add()
[mirror_edk2.git] / MdePkg / Library / UefiPalLib / UefiPalLib.c
index 290488f73ccc81f6957dafe39434a8f7da846305..df52a9125f8576ae703ea406cf41e362f179919e 100644 (file)
@@ -2,12 +2,12 @@
   PAL Library implementation retrieving the PAL Entry Point from the SAL System Table\r
   register in the EFI System Confguration Table.\r
 \r
-  Copyright (c) 2007 - 2008, Intel Corporation All rights\r
-  reserved. This program and the accompanying materials are\r
+  Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials are\r
   licensed and made available under the terms and conditions of\r
   the BSD License which accompanies this distribution.  The full\r
   text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
+  http://opensource.org/licenses/bsd-license.php.\r
   \r
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
@@ -102,8 +102,8 @@ UefiPalLibConstructor (
              &gEfiSalSystemTableGuid,\r
              (VOID **) &SalSystemTable\r
              );\r
-\r
   ASSERT_EFI_ERROR (Status);\r
+  ASSERT (SalSystemTable != NULL);\r
 \r
   //\r
   // Check the first entry of SAL System Table,\r