[Date Prev][Date Next]
RE: slapadd aborts when free memory (ITS#2409)
The list was being torn down in the wrong order. I have committed a fix to
CVS HEAD, please test.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
Symas: Premier OpenSource Development and Support
> -----Original Message-----
> From: owner-openldap-bugs@OpenLDAP.org
> [mailto:owner-openldap-bugs@OpenLDAP.org]On Behalf Of firstname.lastname@example.org
> Full_Name: Alexandre Tsu
> Version: 2.1.16
> OS: win2000server
> Submission from: (NULL) (184.108.40.206)
> I rebuild all suite 2.1.16, but when using slapadd.exe,
> whenever sucessfully or
> failed, applicaton reports "memory address is not for
> reading." and aborts. I
> trace the process, and finally, I found in oidm.c file, at a
> " oidm_destroy() "
> function , when processing
> "ldap_charray_free(om->som_names)", error occurs.
> actually it's "om->som_names" has problem. Is it the chain
> item points to a
> inaccessible address? I follow a NULL check,and I found
> variable "om" is not
> NULL. perhaps "om=LDAP_SLIST_FIRST( &om_list )" has some error, or a
> OidMacroList om_list is bad organized ?
> wish to get more resolved informations ,thank you very much .