[Date Prev][Date Next]
(ITS#6946) ldapexop: ber_free_buf: Assertion failed
Full_Name: Jan Vcelak
Submission from: (NULL) (220.127.116.11)
A problem with crashing ldapexop was reported to our bugzilla. All versions
since 2.4.24 are affected. It seems that the bug was introduced by following
change in ldapexop.c.
Easy to reproduce. With clean configuration run:
$ ldapexop -H ldap:// -x whoami
ldapexop: ../../../libraries/liblber/io.c:186: ber_free_buf: Assertion
Complete steps to reproduce in Fedora are specified in the original bugreport:
I think it is cause by double freeing the result. I am attaching a proposed
patch. Please, review my change.