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

fix handle security if object name cannot be retrieved #2318

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

DartVanya
Copy link
Contributor

If caller passes a NULL name string to PhEditSecurity (e.g. hndlrpv cannot obtain object name), this will be null pointer dereference violation. Currently if you try to open security for any handle of PPL process (w/o driver), it leads to crash.

phlib/secedit.c Outdated Show resolved Hide resolved
@dmex

This comment was marked as outdated.

@DartVanya DartVanya requested a review from dmex December 5, 2024 03:54
@DartVanya DartVanya changed the title fix PhEditSecurity for NULL strings fix handle security if object name cannot be retrieved Dec 5, 2024
SystemInformer/prpghndl.c Outdated Show resolved Hide resolved
plugins/ExtendedTools/objmgr.c Show resolved Hide resolved
plugins/ExtendedTools/objmgr.c Show resolved Hide resolved
@DartVanya DartVanya requested a review from dmex December 9, 2024 20:29
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

Successfully merging this pull request may close these issues.

2 participants