ldapadd: malloc.c:2379: sysmalloc: Assertion

Bug #1877557 reported by Gunter Zeilinger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openldap
New
Undecided
Unassigned

Bug Description

How to reproduce:

$ unzip ldapadd-crash.zip
Archive: ldapadd-crash.zip
   creating: ldapadd-crash/
  inflating: ldapadd-crash/dicom.ldif
  inflating: ldapadd-crash/dcm4chee-archive.ldif
  inflating: ldapadd-crash/dcm4chee-archive-ui.ldif
  inflating: ldapadd-crash/dcm4che.ldif

$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f ldapadd-crash/dicom.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=dicom,cn=schema,cn=config"

$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f ldapadd-crash/dcm4che.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
adding new entry "cn=dcm4che,cn=schema,cn=config"

$ sudo ldapadd -Y EXTERNAL -H ldapi:/// -f ldapadd-crash/dcm4chee-archive.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldapadd: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.

Aborted

#######################

Happens with

ldap-utils 2.4.49+dfsg-2ubuntu1.2 amd64

but also already with

ldap-utils 2.4.45+dfsg-1ubuntu1 amd64

#######################

Does not happen with openldap-clients package of Alpine Linux based on same OpenLDAP versions.

Revision history for this message
Gunter Zeilinger (gunterze) wrote :
affects: canonical-identity-provider → openldap
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.