Jan Vcelak wrote:
On Thursday 23 June 2011 22:41:20, Howard Chu wrote:
jvcelak@redhat.com wrote:
Full_Name: Jan Vcelak Version: 2.5.25
There is no OpenLDAP version 2.5.
This is a typo. I mean 2.4.25. (But it an older issue, it was reported in RH bugzilla against 2.4.23.)
There is no file ldifutil.c in OpenLDAP 2.4.
I don't know what you're testing against, but this bug report appears invalid. Closing.
$ find -name ldifutil.c ./libraries/libldap/ldifutil.c ./libraries/libldap_r/ldifutil.c
Tested against git master branch.
Read again what I wrote. There is no file ldifutil.c in OpenLDAP 2.4. git master is not the same as the 2.4 releases.
Your example doesn't SEGV for me. Anyway, I've committed a different patch to master for this issue.
Strange... Fedora Linux 15, 64bit. And clearly an uninitialized memory was accessed. But your fix is fine and works for me.
Thank you.
Jan