Closed
Bug 246694
Opened 21 years ago
Closed 21 years ago
64-bit build: incorrect handling of password policy response
Categories
(Directory Graveyard :: LDAP Tools, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
5.14
People
(Reporter: mcs, Assigned: mcs)
Details
(Keywords: 64bit)
Attachments
(2 files)
2.46 KB,
patch
|
mcs
:
review+
|
Details | Diff | Splinter Review |
1020 bytes,
patch
|
mcs
:
review+
|
Details | Diff | Splinter Review |
In a 64-bit compilation (where sizeof(long) != sizeof(int), the LDAP command
line tools do not correctly handle the password policy response. This is
because ints are passed to ber_scanf() instead of longs. Reported by Netscape.
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → 5.14
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 150737 [details] [diff] [review]
proposed fix from Netscape
r=mcs.
Attachment #150737 -
Flags: review+
Assignee | ||
Comment 3•21 years ago
|
||
This fix only affects the LDAP command line tools which are not used by Mozilla
client projects. Fix committed to the trunk:
mozilla/directory/c-sdk/ldap/clients/tools/common.c
new revision: 5.12; previous revision: 5.11
Fix bug # 246694 - 64-bit build: incorrect handling of
password policy response.
The 'i' format specifier to ber_scanf() requires a long arg, not int.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•21 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 4•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #155688 -
Flags: review+
Assignee | ||
Comment 5•21 years ago
|
||
One additional small fix committed:
mozilla/directory/c-sdk/ldap/clients/tools/common.c
new revision: 5.13; previous revision: 5.12
Additional fix for bug #246694 - 64-bit build: incorrect handling of
password policy response.
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•