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

Add RDN attributes only when slice is not nil #52

Merged

Conversation

fpants
Copy link

@fpants fpants commented Nov 1, 2023

When there are no DN attributes in the ldap_object, the provider crashes with a nil pointer dereference.
This PR is to fix this case.

@l-with
Copy link
Owner

l-with commented Nov 1, 2023

Thanks for the submission, this looks ok for me! (I have not the time for testing.)

@l-with l-with merged commit 1d8037b into l-with:main Nov 1, 2023
1 check passed
@l-with
Copy link
Owner

l-with commented Nov 1, 2023

released in version 0.4.4

@l-with l-with added the bug Something isn't working label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants