OcOSInfoLib: Fix NULL pointer dereference

This commit is contained in:
vit9696 2020-01-06 02:46:55 +03:00 committed by GitHub
parent 3cd02f622f
commit d4d83af268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ InternalOSInfoSet (
mAppleOSLoadedSignaled = TRUE;
}
if (mOSName != NULL) {
if (mOSName == NULL) {
return;
}