[Date Prev][Date Next]
(ITS#4565) Strange error handling
Full_Name: Hallvard B Furuseth
Submission from: (NULL) (184.108.40.206)
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.