dovecot: digest_md5_generate(): Fail with fatal instead of panic...

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 27 18:25:47 EEST 2007


details:   http://hg.dovecot.org/dovecot/rev/39f5251b04f9
changeset: 6618:39f5251b04f9
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 27 18:25:44 2007 +0300
description:
digest_md5_generate(): Fail with fatal instead of panic if username isn't
given. This can easily happen with dovecotpw utility.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/auth/password-scheme.c |    2 +-

diffs (12 lines):

diff -r f33be4f9ba4d -r 39f5251b04f9 src/auth/password-scheme.c
--- a/src/auth/password-scheme.c	Sat Oct 27 18:07:03 2007 +0300
+++ b/src/auth/password-scheme.c	Sat Oct 27 18:25:44 2007 +0300
@@ -446,7 +446,7 @@ digest_md5_generate(const char *plaintex
 	unsigned char *digest;
 
 	if (user == NULL)
-		i_panic("digest_md5_generate(): username not given");
+		i_fatal("digest_md5_generate(): username not given");
 
 	/* user:realm:passwd */
 	realm = strchr(user, '@');


More information about the dovecot-cvs mailing list