[dovecot-cvs] dovecot/src/auth passdb-blocking.c,1.14,1.15
tss at dovecot.org
tss at dovecot.org
Tue Feb 6 09:49:49 UTC 2007
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv17712/auth
Modified Files:
passdb-blocking.c
Log Message:
Assert-crashfixes
Index: passdb-blocking.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/passdb-blocking.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- passdb-blocking.c 16 Jan 2007 13:18:24 -0000 1.14
+++ passdb-blocking.c 6 Feb 2007 09:49:46 -0000 1.15
@@ -87,7 +87,8 @@
}
if (*reply != '\0') {
- i_assert(auth_stream_is_empty(request->extra_fields));
+ i_assert(auth_stream_is_empty(request->extra_fields) ||
+ request->master_user != NULL);
for (tmp = t_strsplit(reply, "\t"); *tmp != NULL; tmp++) {
p = strchr(*tmp, '=');
@@ -122,7 +123,8 @@
{
string_t *str;
- i_assert(auth_stream_is_empty(request->extra_fields));
+ i_assert(auth_stream_is_empty(request->extra_fields) ||
+ request->master_user != NULL);
str = t_str_new(64);
str_printfa(str, "PASSV\t%u\t", request->passdb->id);
@@ -154,7 +156,8 @@
{
string_t *str;
- i_assert(auth_stream_is_empty(request->extra_fields));
+ i_assert(auth_stream_is_empty(request->extra_fields) ||
+ request->master_user != NULL);
str = t_str_new(64);
str_printfa(str, "PASSL\t%u\t%d\t",
More information about the dovecot-cvs
mailing list