ldap_set_option( NULL, ... ) resets ldap_debug to zero

RESOLVED FIXED in 5.11

Status

Directory
LDAP C SDK
P2
normal
RESOLVED FIXED
16 years ago
15 years ago

People

(Reporter: mcs, Assigned: mcs)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

16 years ago
A call to ldap_set_option() with a NULL ld (to set global defaults) always
resets the internal ldap_debug variable to zero, which disables debugging. This
is annoying and trivial to fix.
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
Whiteboard: tm511
(Assignee)

Comment 1

16 years ago
Created attachment 104786 [details] [diff] [review]
proposed fix
(Assignee)

Comment 2

16 years ago
Set priority.
Priority: -- → P2
(Assignee)

Updated

16 years ago
Target Milestone: --- → 5.11
(Assignee)

Updated

16 years ago
Attachment #104786 - Flags: review?(djani)

Comment 3

16 years ago
looks good.
(Assignee)

Comment 4

16 years ago
Fixed on the trunk:

mozilla/directory/c-sdk/ldap/libraries/libldap/open.c
  new revision: 5.2; previous revision: 5.1
mozilla/directory/c-sdk/ldap/libraries/libldap/setoption.c
  new revision: 5.2; previous revision: 5.1
    Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero.
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
Whiteboard: tm511

Updated

16 years ago
Attachment #104786 - Flags: review?(djani)

Comment 5

15 years ago
Spam for bug 129472
QA Contact: nobody → nobody
You need to log in before you can comment on or make changes to this bug.