[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8003) segault with jpegPhoto > ~27KB and audit overlay

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) (
>> 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