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

(ITS#4565) Strange error handling



Full_Name: Hallvard B Furuseth
Version: HEAD
OS: 
URL: 
Submission from: (NULL) (129.240.186.42)
Submitted by: hallvard


init.c:slap_init() sets 'rc' to error code from slap_sasl_init(),
backend_init() and incorrect slapMode, but then it ignores the error and
proceeds with initialization, and just returns rc at the end.

Also, #ifdef HAVE_TLS, the error indications above are zeroed out.  I'll
leave that one to whoever knows why the error return is delayed in the
first place.  Other errors both before and after cause immediate return.