Skip to content

Fix error handling of LDAPControl_to_List() #89

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

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

tiran
Copy link
Member

@tiran tiran commented Dec 4, 2017

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

@codecov
Copy link

codecov bot commented Dec 4, 2017

Codecov Report

Merging #89 into master will decrease coverage by 0.01%.
The diff coverage is 44.44%.

@@            Coverage Diff            @@
##           master     #89      +/-   ##
=========================================
- Coverage   65.62%   65.6%   -0.02%     
=========================================
  Files          46      46              
  Lines        4398    4399       +1     
  Branches      749     749              
=========================================
  Hits         2886    2886              
- Misses       1182    1183       +1     
  Partials      330     330
Impacted Files Coverage Δ
Modules/ldapcontrol.c 51.76% <44.44%> (-0.31%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9524dd3...bd3fce4. Read the comment docs.

LDAPControls_to_List() may have returned a partly filled list
in case Py_BuildValue() fails.
In case of an error, DECREF the list and return NULL.

python-ldap#89
Closes: python-ldap#22
Signed-off-by: Christian Heimes <cheimes@redhat.com>
@encukou encukou merged commit c86b8e9 into python-ldap:master Dec 4, 2017
@tiran tiran deleted the ctrl_list branch December 4, 2017 10:54
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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy