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 segmentation fault when invalid group or user #193

Merged
merged 1 commit into from
Jun 9, 2023
Merged

Conversation

solidiquis
Copy link
Owner

Closes #189

When a user or group isn't valid errno doesn't get set which causes a null pointer dereference. This PR does a null pointer check and returns an error if user or group is invalid.

@solidiquis solidiquis merged commit 644872f into master Jun 9, 2023
@solidiquis solidiquis deleted the issue/190 branch June 9, 2023 05:57
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.

erd --long crashes when attempting to display user/group info for nonexistant group/user
1 participant