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

Re: slapd segfaults with certain ACL's (ITS#4854)



hjensen@gmx.de wrote:

> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 16384 (LWP 16160)]
> 0x4043e049 in free () from /lib/libc.so.6
> (gdb) bt
> #0  0x4043e049 in free () from /lib/libc.so.6
> #1  0x40069ef8 in ber_memfree_x () from /usr/lib/liblber-2.3.so.0
> #2  0x0809d4b6 in ch_free ()
> #3  0x080be84d in str2anlist ()
> #4  0x080ab33e in parse_acl ()
> #5  0x08070c5c in config_generic ()
> #6  0x0807b0f6 in config_set_vals ()
> #7  0x0807cdd9 in read_config_file ()
> #8  0x08075d1d in config_include ()
> #9  0x0807b0f6 in config_set_vals ()
> #10 0x0807cdd9 in read_config_file ()
> #11 0x0807667b in read_config ()
> #12 0x0806ffce in main ()


OK, then it should be fixed; you can pull servers/slapd/ad.c from the 
CVS under the OPENLDAP_REL_ENG_2_3 tag and rebuild.  Note that this 
confirms that your schema is missing either or both the offending 
objectClasses mozillaAbPersonAlpha, evolutionPerson.

Please test and feedback.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------