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

Re: (ITS#3570) bconfig segfault

Kurt@OpenLDAP.org wrote:

>Full_Name: Kurt Zeilenga
>Version: HEAD
>OS: FreeBSD 4
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (
>HEAD (as of now) segfaults here:
>(gdb) where
>#0  0x805e2db in config_build_entry (c=0xbfbfed40, e=0x8215cc0, oc=0x0, 
>    rdn=0xbfbfed38, ct=0x81a29a0, table=0) at bconfig.c:254
>#1  0x805e616 in config_back_db_open (be=0x823c800) at bconfig.c:354
>#2  0x8071cb9 in backend_startup_one (be=0x823c800) at backend.c:240
>#3  0x8071ff2 in backend_startup (be=0x0) at backend.c:328
>#4  0x8088f00 in slap_startup (be=0x0) at init.c:174
>#5  0x805dc56 in main (argc=8, argv=0xbfbff2f4) at main.c:728
It shouldn't get there, because the error occurs earlier in 
config_back_init(), where the parsing of objectClass 'olcGlobal' fails 
because (at least) the attributeDescription 'olcAuthRewrite' is not 
found; unfortunately, the return code of config_back_init() is not 
checked.  I've fixed this; the error still occurs, but at least slapd 
fails gently.


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497