XTLDR Rewrite #7

Merged
belliash merged 184 commits from xtldr_rewrite into master 2024-01-09 18:51:04 +01:00
Showing only changes of commit 782e6e3987 - Show all commits

View File

@ -30,6 +30,9 @@ BlGetConfigValue(IN CONST PWCHAR ConfigName)
/* Get config entry name length */
Length = RtlWideStringLength(ConfigName, 0);
/* Make sure config list is not empty */
if(BlpConfig != NULL)
{
/* Iterate through config entries */
ConfigListEntry = BlpConfig->Flink;
while(ConfigListEntry != BlpConfig)
@ -47,6 +50,7 @@ BlGetConfigValue(IN CONST PWCHAR ConfigName)
/* Move to the next config entry */
ConfigListEntry = ConfigListEntry->Flink;
}
}
/* Config entry not found, return NULL */
return NULL;