RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 743781 - ldapsearch crashes with invalid prameters
Summary: ldapsearch crashes with invalid prameters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openldap
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jan Vcelak
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-06 02:04 UTC by Dmitri Pal
Modified: 2013-03-04 01:29 UTC (History)
4 users (show)

Fixed In Version: openldap-2.4.23-21.el6
Doc Type: Bug Fix
Doc Text:
- mutually exclusive options "-w" and "-W" were passed to any OpenLDAP client tools - the tool crashes with assertion error - applied upstream fix - the client tools refuse to start if mutually exclusive options "-w" and "-W" are passed on the command line
Clone Of:
Environment:
Last Closed: 2012-06-20 07:29:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
verified upstream patch (554 bytes, patch)
2011-10-06 12:03 UTC, Jan Vcelak
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0899 0 normal SHIPPED_LIVE Low: openldap security and bug fix update 2012-06-19 19:28:37 UTC

Description Dmitri Pal 2011-10-06 02:04:58 UTC
Description of problem:

ldapsearch -D "cn=Directory Manager" -b "dc=dpal,dc=redhat,dc=com" -w "password" -W


Version-Release number of selected component (if applicable):
Name        : openldap
Arch        : x86_64
Version     : 2.4.23
Release     : 19.el6


How reproducible:
Always

Steps to Reproduce:
1. Run the command above with real password
  
Actual results:
ldapsearch: ../../../clients/tools/common.c:1363: tool_bind: Assertion `passwd.bv_val == ((void *)0) && passwd.bv_len == 0' failed.
Aborted (core dumped)


Expected results:
mismatch or arguments is detected and -W option is either ignored or error is returned.

Additional info:

Comment 3 Jan Vcelak 2011-10-06 12:03:31 UTC
Created attachment 526685 [details]
verified upstream patch

Comment 4 RHEL Program Management 2011-10-07 16:01:57 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 9 Jan Vcelak 2012-03-01 10:56:54 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
- mutually exclusive options "-w" and "-W" were passed to any OpenLDAP client tools
- the tool crashes with assertion error
- applied upstream fix
- the client tools refuse to start if mutually exclusive options "-w" and "-W" are passed on the command line

Comment 11 errata-xmlrpc 2012-06-20 07:29:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0899.html


Note You need to log in before you can comment on or make changes to this bug.