Closed
Bug 246694
Opened 20 years ago
Closed 20 years ago
64-bit build: incorrect handling of password policy response
Categories
(Directory :: 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•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → 5.14
Assignee | ||
Comment 1•20 years ago
|
||
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 150737 [details] [diff] [review] proposed fix from Netscape r=mcs.
Attachment #150737 -
Flags: review+
Assignee | ||
Comment 3•20 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: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•20 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 4•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #155688 -
Flags: review+
Assignee | ||
Comment 5•20 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: 20 years ago → 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•