-
Notifications
You must be signed in to change notification settings - Fork 1k
WlxLoggedOutSAS: Tell how the pProfile structure is allocated. #2034
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
base: docs
Are you sure you want to change the base?
Conversation
Like the pNprNotifyInfo fields, the fields inside the returned pProfile structure, and the structure itself, appears to be allocated with `LocalAlloc()`. My investigations appear to show that this is what Windows <= 2003 msgina.dll does, and what winlogon.exe expects (since the latter will free the buffers with `LocalFree()`).
@HBelusca : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
Note for reviewers: it would be advisable that someone from the Windows Security/Login team (and having access to the legacy msgina and winlogon sources) check this PR, as well as the related ones: #2035, #2036, and #2037, verifying the claims I made (obtained by an independent investigation), before approving any of these PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the update to the docs. I'll commit the URL updates to avoid redirects and approve/merge the PR.
Update paths to avoid redirected URLs.
My investigations appear to show that, on Windows <= 2003 (what msgina.dll does), similar to the
pNprNotifyInfo
fields, the fields inside the returnedpProfile
structure, and the structure itself, are allocated withLocalAlloc()
.winlogon.exe expects this, since it will free these buffers with
LocalFree()
.