Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562854 - =dev-python/pyldap-2.4.20-r1 Please add patch that fixes segfault
Summary: =dev-python/pyldap-2.4.20-r1 Please add patch that fixes segfault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-10-11 20:41 UTC by Christian Roessner
Modified: 2015-10-14 14:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Roessner 2015-10-11 20:41:54 UTC
Can you please add the following patch, which fixes a segmentation fault bug, if using SASL bind?

https://github.com/msimacek/pyldap/commit/afcb7a8e581af34080d7ccfbfa4c1a64e25b0166

I have tested the patch and it works perfectly.

Reproducible: Always

Steps to Reproduce:
1. Using SASL/EXTERNAL leads to a seg fault
2.
3.


Expected Results:  
Working LDAP authentication with SASL

Adding the patch fixes the bug.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-10-14 14:06:57 UTC
commit 1009299d11d10c0610e698fa5b6dd8dad63d5acb
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Oct 14 16:05:34 2015 +0200
    
    dev-python/pyldap: Backport patch for bytes/string conversion problem
    
    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562854
    
    Package-Manager: portage-2.2.23
    Signed-off-by: Justin Lecher <jlec@gentoo.org>
    
    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1009299d11d10c0610e698fa5b6dd8dad63d5acb