[*] Reintroduce regressed branch; missing indirect branch validation before call
This commit is contained in:
parent
627bdddfdc
commit
8c5a706dc6
@ -96,7 +96,8 @@ namespace Aurora::SWInfo
|
||||
RTL_OSVERSIONINFOEXW ovi {};
|
||||
ovi.dwOSVersionInfoSize = sizeof(ovi);
|
||||
|
||||
if (pRtlGetVersion(reinterpret_cast<PRTL_OSVERSIONINFOW>(&ovi)) == 0)
|
||||
if (pRtlGetVersion &&
|
||||
pRtlGetVersion(reinterpret_cast<PRTL_OSVERSIONINFOW>(&ovi)) == 0)
|
||||
{
|
||||
osInfo.uKernelPatch = ovi.dwBuildNumber;
|
||||
osInfo.uKernelMinor = ovi.dwMinorVersion;
|
||||
|
Loading…
Reference in New Issue
Block a user