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

Re: Crash in SASL bind (ITS#2577)



Please provide a stack back trace from the crash.  Thanks, Kurt

At 12:46 AM 6/5/2003, emmanuel.duru@atosorigin.com wrote:
>Full_Name: Emmanuel Duru
>Version: 2.2.0 alpha
>OS: solaris 8
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (195.68.44.148)
>
>
>In 2.2.0 alpha (20030531), when a client SASL binds to the server, the server
>crashes, because sasl.c uses a filter with a null attribute descriptor.
>The problem is that the generic_filter used is initialized in slap_sasl_init()
>from the schema, which is not yet loaded: slap_schema_init() is called in main.c
>after slap_init(), slap-init() calls slap_sasl_init().
>Proposed correction : move the slap_sasl_init() call from slap_init() to main(),
>after slap_schema_init().