Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a Possible (not major if dlls are OK) Bug. #30

Open
SkyDncr opened this issue Feb 25, 2017 · 0 comments
Open

a Possible (not major if dlls are OK) Bug. #30

SkyDncr opened this issue Feb 25, 2017 · 0 comments

Comments

@SkyDncr
Copy link

SkyDncr commented Feb 25, 2017

if (NULL == pfnGETREQUESTEDRUNTIMEINFO) {
// ... (Some of Your Codes)
if (0 == _tcscmp(pszNetfxVersionToCheck, g_szNetfx10VersionString))
{
// ... (Some of Your Codes)
goto Finish;
}
// need a "return false;" to here i think.
}
// ... (Some of Your Codes)
// Check for the requested .NET Framework version
hr = pfnGETREQUESTEDRUNTIMEINFO(... // Possible Null Pointer

if There is "CorBindToRuntime" AND "no GetRequestedRuntimeInfo" in mscoree dll (maybe virus or like that);
this function will crash your program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant