Skip to content

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

Open
wants to merge 2 commits into
base: docs
Choose a base branch
from

Conversation

HBelusca
Copy link
Contributor

My investigations appear to show that, on Windows <= 2003 (what msgina.dll does), similar to the pNprNotifyInfo fields, the fields inside the returned pProfile structure, and the structure itself, are allocated with LocalAlloc().
winlogon.exe expects this, since it will free these buffers with LocalFree().

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()`).
Copy link

@HBelusca : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@HBelusca
Copy link
Contributor Author

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.

@alvinashcraft alvinashcraft requested review from alvinashcraft and removed request for GrantMeStrength June 26, 2025 17:53
Copy link
Contributor

@alvinashcraft alvinashcraft left a 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants