Bug 40161 - Segfault when calling whoami_s() for a not connected LDAP connection
Segfault when calling whoami_s() for a not connected LDAP connection
Status: RESOLVED MOVED
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-02 13:46 CET by Florian Best
Modified: 2018-04-14 13:43 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-12-02 13:46:37 CET
The following code causes a segfault:
>>> from univention.uldap import getMachineConnection
>>> lo = getMachineConnection()
>>> lo.lo.unbind()
>>> lo.lo.whoami_s()
Comment 1 Florian Best univentionstaff 2016-03-11 08:29:13 CET
This has been fixed upstream. It also happens sometimes when using search_s(). At least it doesn't segfault anymore but raises "AttributeError: _l" → Bug #40883