diff options
author | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-16 02:57:57 +0000 |
---|---|---|
committer | xgu3 <xgu3@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-16 02:57:57 +0000 |
commit | 2bbf72b0ab9da75b2f980ee69e2b6356ecf130b7 (patch) | |
tree | 42ffa4ebb5d189bf384240f22a6f9de010c41218 /EdkUnixPkg | |
parent | ad2baeff2209aa6161b90bf6f4e8454f1692f892 (diff) | |
download | edk2-2bbf72b0ab9da75b2f980ee69e2b6356ecf130b7.zip edk2-2bbf72b0ab9da75b2f980ee69e2b6356ecf130b7.tar.gz edk2-2bbf72b0ab9da75b2f980ee69e2b6356ecf130b7.tar.bz2 |
Fix the issues,
1. NULL Pointer Errors in Variable.c
2. consoleoption Null Ptr Error
3. bootmaint Null Ptr Error
4. EFIAPI missing Crc32SectionExtraction.c
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2252 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkUnixPkg')
-rw-r--r-- | EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c | 1 | ||||
-rw-r--r-- | EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c index 297c2cf..9acacc8 100644 --- a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c +++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/ConsoleOption.c @@ -175,6 +175,7 @@ ChangeVariableDevicePath ( &TerminalMenu,
Com
);
+ ASSERT (NewMenuEntry != NULL);
NewTerminalContext = (BM_TERMINAL_CONTEXT *) NewMenuEntry->VariableContext;
Uart = (UART_DEVICE_PATH *) Node;
CopyMem (
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c index c660e40..454d192 100644 --- a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c +++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c @@ -450,6 +450,7 @@ Var_UpdateConsoleOption ( NewTerminalContext->DevicePath,
(EFI_DEVICE_PATH_PROTOCOL *) &Vendor
);
+ ASSERT (TerminalDevicePath != NULL);
ChangeTerminalDevicePath (TerminalDevicePath, TRUE);
Temp = DevicePathToStr (TerminalDevicePath);
ConDevicePath = AppendDevicePathInstance (
|