Description of problem: ldapexop query fails with assertion failure: ldapexop: ../../../libraries/liblber/io.c:186: ber_free_buf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed. Version-Release number of selected component (if applicable): openldap-2.4.24-2.fc16.i686 openldap-servers-2.4.24-2.fc16.i686 openldap-clients-2.4.24-2.fc16.i686 How reproducible: Always. Steps to Reproduce: 1. Setup OpenLDAP server on ldap://127.0.0.1 + backup /var/lib/ldap, /etc/openldap/ + rm /var/lib/ldap/* /etc/openldap* -rf + yum reinstall openldap* + service slapd start 2. ldapexop -H ldap:// -x whoami Actual results: anonymous ldapexop: ../../../libraries/liblber/io.c:186: ber_free_buf: Assertion `((ber)->ber_opts.lbo_valid==0x2)' failed. Aborted Expected results: anonymous
Created attachment 499898 [details] proposed patch
Comment on attachment 499898 [details] proposed patch ack looks like res is freed on line 352
Thank you for reviewing, Rich. :) I also created an upstream report http://www.OpenLDAP.org/its/index.cgi?findid=6946
(This issue is resolved in Rawhide with openldap-2.4.25-1.fc16.)
Fixed in openldap-2.4.24-3.fc15
openldap-2.4.24-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/openldap-2.4.24-3.fc15
Package openldap-2.4.24-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openldap-2.4.24-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/openldap-2.4.24-3.fc15 then log in and leave karma (feedback).
openldap-2.4.24-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.