mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 19:43:31 +08:00
[SETUPLIB] FindSupportedSystemPartition(): Add missing NULL check
Addendum to commit 59acff79e
.
This commit is contained in:
parent
ae27ffcddc
commit
c752e8c0be
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user