Skip to content

Fix NULL deref and checks in LDAPmessage_to_python#342

Merged
encukou merged 1 commit intopython-ldap:masterfrom
tiran:msg_to_python_fix
Jun 5, 2020
Merged

Fix NULL deref and checks in LDAPmessage_to_python#342
encukou merged 1 commit intopython-ldap:masterfrom
tiran:msg_to_python_fix

Conversation

@tiran
Copy link
Copy Markdown
Member

@tiran tiran commented Jun 5, 2020

The function LDAPmessage_to_python() had some potential NULL pointer
derefs and missed a couple of errors checks. It's still not perfect but
a bit better now.

Signed-off-by: Christian Heimes cheimes@redhat.com

The function LDAPmessage_to_python() had some potential NULL pointer
derefs and missed a couple of errors checks. It's still not perfect but
a bit better now.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Copy link
Copy Markdown
Member

@encukou encukou left a comment

Choose a reason for hiding this comment

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

A bit better it is.

For some reason, Travis CI is not reporting results. But the build for e59905c passed: https://travis-ci.org/github/python-ldap/python-ldap/builds/695145760

@encukou encukou merged commit 72a4707 into python-ldap:master Jun 5, 2020
@tiran tiran added this to the 3.3 milestone Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants