mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcOSInfoLib: Fix NULL pointer dereference
This commit is contained in:
parent
3cd02f622f
commit
d4d83af268
@ -56,7 +56,7 @@ InternalOSInfoSet (
|
||||
mAppleOSLoadedSignaled = TRUE;
|
||||
}
|
||||
|
||||
if (mOSName != NULL) {
|
||||
if (mOSName == NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user