dovecot-2.0: auth: Fixed crash when a plugin was trying to regis...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 15 19:54:15 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/a74f743e2c56
changeset: 11552:a74f743e2c56
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 15 17:54:12 2010 +0100
description:
auth: Fixed crash when a plugin was trying to register password scheme.

diffstat:

 src/auth/main.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 26594f6d784a -r a74f743e2c56 src/auth/main.c
--- a/src/auth/main.c	Tue Jun 15 15:08:19 2010 +0100
+++ b/src/auth/main.c	Tue Jun 15 17:54:12 2010 +0100
@@ -98,6 +98,8 @@
 	   only by root. Also load all modules here. */
 	passdbs_init();
 	userdbs_init();
+	/* init schemes before plugins are loaded */
+	password_schemes_init();
 
 	services = read_global_settings();
 
@@ -131,7 +133,6 @@
 	lib_signals_ignore(SIGUSR2, TRUE);
 
 	child_wait_init();
-	password_schemes_init();
 	auth_worker_server_init();
 	auths_init();
 	auth_request_handler_init();


More information about the dovecot-cvs mailing list