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

LDAP.Client.First_Attribute does not check for Null_Ptr #196

Open
reet- opened this issue Feb 3, 2021 · 0 comments
Open

LDAP.Client.First_Attribute does not check for Null_Ptr #196

reet- opened this issue Feb 3, 2021 · 0 comments

Comments

@reet-
Copy link

reet- commented Feb 3, 2021

Hi,

The LDAP.Client.First_Attribute function does not check for the Interfaces.C.Strings.Null_Ptr return value in case there are no attributes in the LDAP message.

Therefore it dereferences a nullptr in that case.

This also affects the LDAP.Client.For_Every_Attribute procedure, utilizing this function.

LDAP.Client.Next_Attribute seems to be correct.

Kind regards

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

No branches or pull requests

1 participant