Skip to content

sudoers_policy_store_result: Fix potential NULL pointer deref#528

Merged
millert merged 1 commit intosudo-project:mainfrom
dtenebrae-v2:main
Apr 10, 2026
Merged

sudoers_policy_store_result: Fix potential NULL pointer deref#528
millert merged 1 commit intosudo-project:mainfrom
dtenebrae-v2:main

Conversation

@dtenebrae-v2
Copy link
Copy Markdown

sudo_get_gidlist() can return NULL value

sudo_get_gidlist() can return NULL value
Copy link
Copy Markdown
Collaborator

@millert millert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should always be a cached value at this point but it is better to be safe than sorry.

@millert millert merged commit 4b5afb6 into sudo-project:main Apr 10, 2026
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.

3 participants