Full_Name: Raffael Sahli Version: 2.4.40 OS: Ubuntu LTS 12.04 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (46.245.145.146) slapd will crash if a database has the audit overlay enabled and the attribute jpegPhoto will be modified or added with data bigger than ~27KB. `/usr/local/libexec/slapd': free(): invalid next size (normal) Verified with custom builds on Ubuntu lts 12.04/14.04/Mint 14 and bdb/mdb. Remove the audit overlay or migrate back to 2.4.39 solves the problem.
public@raffaelsahli.com wrote: > Full_Name: Raffael Sahli > Version: 2.4.40 > OS: Ubuntu LTS 12.04 > URL: ftp://ftp.openldap.org/incoming/ > Submission from: (NULL) (46.245.145.146) > > > slapd will crash if a database has the audit overlay enabled and the attribute > jpegPhoto will be modified or added with data bigger than ~27KB. > > `/usr/local/libexec/slapd': free(): invalid next size (normal) > > Verified with custom builds on Ubuntu lts 12.04/14.04/Mint 14 and bdb/mdb. > > Remove the audit overlay or migrate back to 2.4.39 solves the problem. > > Please provide a sample slapd config that demonstrates the problem. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
On 12.12.2014 09:08, Howard Chu wrote: > public@raffaelsahli.com wrote: >> Full_Name: Raffael Sahli >> Version: 2.4.40 >> OS: Ubuntu LTS 12.04 >> URL: ftp://ftp.openldap.org/incoming/ >> Submission from: (NULL) (46.245.145.146) >> >> >> slapd will crash if a database has the audit overlay enabled and the >> attribute >> jpegPhoto will be modified or added with data bigger than ~27KB. >> >> `/usr/local/libexec/slapd': free(): invalid next size (normal) >> >> Verified with custom builds on Ubuntu lts 12.04/14.04/Mint 14 and >> bdb/mdb. >> >> Remove the audit overlay or migrate back to 2.4.39 solves the problem. >> >> > Please provide a sample slapd config that demonstrates the problem. > include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema pidfile /usr/local/var/run/slapd.pid argsfile /usr/local/var/run/slapd.args database mdb suffix "dc=my-domain,dc=com" rootdn "cn=Manager,dc=my-domain,dc=com" rootpw secret directory /usr/local/var/openldap-data index objectClass eq overlay auditlog auditlog /var/log/audit_slapd.log -- Raffael Sahli
Raffael Sahli wrote: > On 12.12.2014 09:08, Howard Chu wrote: >> public@raffaelsahli.com wrote: >>> Full_Name: Raffael Sahli >>> Version: 2.4.40 >>> OS: Ubuntu LTS 12.04 >>> URL: ftp://ftp.openldap.org/incoming/ >>> Submission from: (NULL) (46.245.145.146) >>> >>> >>> slapd will crash if a database has the audit overlay enabled and the >>> attribute >>> jpegPhoto will be modified or added with data bigger than ~27KB. >>> >>> `/usr/local/libexec/slapd': free(): invalid next size (normal) >>> >>> Verified with custom builds on Ubuntu lts 12.04/14.04/Mint 14 and >>> bdb/mdb. >>> >>> Remove the audit overlay or migrate back to 2.4.39 solves the problem. Thanks, fixed now in master. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
changed notes changed state Open to Test moved from Incoming to Software Bugs
changed notes changed state Test to Release
fixed in master fixed in RE25 fixed in RE24
changed notes changed state Release to Closed