mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:52:56 +00:00
[BOOTLIB]
- BiOpenKey is being feed with the wrong ElementHandle, it should be feed with ElementsHandle one. CID 1363670 . By Victor Martinez Calvo. CORE-11600 #resolve [BOOTMGR] - Fix an Assign vs Compare issue. CID 1363558 . By Victor Martinez Calvo. CORE-11592 #resolve svn path=/trunk/; revision=71923
This commit is contained in:
parent
d90292f386
commit
380484c985
2 changed files with 3 additions and 3 deletions
|
@ -1403,7 +1403,7 @@ BmpPopulateBootEntryList (
|
||||||
|
|
||||||
/* Check if this is a real mode startup.com */
|
/* Check if this is a real mode startup.com */
|
||||||
if ((ObjectType.Application.ObjectCode == BCD_OBJECT_TYPE_APPLICATION) &&
|
if ((ObjectType.Application.ObjectCode == BCD_OBJECT_TYPE_APPLICATION) &&
|
||||||
(ObjectType.Application.ImageCode = BCD_IMAGE_TYPE_REAL_MODE) &&
|
(ObjectType.Application.ImageCode == BCD_IMAGE_TYPE_REAL_MODE) &&
|
||||||
(ObjectType.Application.ApplicationCode == BCD_APPLICATION_TYPE_STARTUPCOM))
|
(ObjectType.Application.ApplicationCode == BCD_APPLICATION_TYPE_STARTUPCOM))
|
||||||
{
|
{
|
||||||
/* Check if PXE soft reboot will occur */
|
/* Check if PXE soft reboot will occur */
|
||||||
|
|
|
@ -579,7 +579,7 @@ BcdDeleteElement (
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Open the element specifically */
|
/* Open the element specifically */
|
||||||
Status = BiOpenKey(ElementHandle, TypeString, &ElementHandle);
|
Status = BiOpenKey(ElementsHandle, TypeString, &ElementHandle);
|
||||||
if (NT_SUCCESS(Status))
|
if (NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
/* Delete it */
|
/* Delete it */
|
||||||
|
@ -874,7 +874,7 @@ BiEnumerateElements (
|
||||||
{
|
{
|
||||||
EfiPrintf(L"Value invalid\r\n");
|
EfiPrintf(L"Value invalid\r\n");
|
||||||
BiCloseKey(ElementHandle);
|
BiCloseKey(ElementHandle);
|
||||||
ElementHandle = 0;
|
ElementHandle = NULL;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue