[*] Update NT memory check

This commit is contained in:
Reece Wilson 2022-04-17 15:18:00 +01:00
parent b424a3b434
commit e90be1801a

View File

@ -86,7 +86,8 @@ namespace Aurora::IPC
#endif
path.c_str());
if (file == INVALID_HANDLE_VALUE)
if ((file == INVALID_HANDLE_VALUE) ||
(!file))
{
return {};
}
@ -131,7 +132,8 @@ namespace Aurora::IPC
FALSE,
path.c_str());
if (file == INVALID_HANDLE_VALUE)
if ((file == INVALID_HANDLE_VALUE) ||
(!file))
{
return {};
}