mirror of
https://github.com/reactos/reactos.git
synced 2026-06-08 17:02:56 +08:00
[SETUPLIB] FindSupportedSystemPartition(): Add missing NULL check
Addendum to commit 59acff79e.
This commit is contained in:
@@ -3346,6 +3346,11 @@ FindSupportedSystemPartition(
|
||||
* should be our system partition.
|
||||
*/
|
||||
DiskEntry = GetSystemDisk(List);
|
||||
if (!DiskEntry)
|
||||
{
|
||||
/* No system disk found, directly go check the alternative disk */
|
||||
goto UseAlternativeDisk;
|
||||
}
|
||||
|
||||
if (DiskEntry->DiskStyle == PARTITION_STYLE_GPT)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user