We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Windows Server 2012 R2 Standard
5.10.2
No reproduction steps but crash occurs in https://github.com/osquery/osquery/blob/master/osquery/main/windows/main.cpp in the following code in the ServiceArgumentParser constructor:-
if (arg == nullptr) { cleanArgs(); ::LocalFree(wargv); break; } args_.push_back(arg); } owns_argv_ptrs_ = true; **::LocalFree(wargv);**
Should the call:-
LPSTR arg = toMBString(wargv[i]);
return nullptr the variable wargv is freed twice, hence the crash on the double-free.
No crash should toMBString fail.
Crash
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
What operating system and version are you using?
Windows Server 2012 R2 Standard
What version of osquery are you using?
5.10.2
What steps did you take to reproduce the issue?
No reproduction steps but crash occurs in https://github.com/osquery/osquery/blob/master/osquery/main/windows/main.cpp in the following code in the ServiceArgumentParser constructor:-
Should the call:-
LPSTR arg = toMBString(wargv[i]);
return nullptr the variable wargv is freed twice, hence the crash on the double-free.
What did you expect to see?
No crash should toMBString fail.
What did you see instead?
Crash
The text was updated successfully, but these errors were encountered: