[dovecot-cvs] dovecot/src/auth passdb-blocking.c, 1.10.2.3, 1.10.2.4
tss at dovecot.org
tss at dovecot.org
Tue Feb 6 09:49:45 UTC 2007
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv17718/auth
Modified Files:
Tag: branch_1_0
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.10.2.3
retrieving revision 1.10.2.4
diff -u -d -r1.10.2.3 -r1.10.2.4
--- passdb-blocking.c 16 Jan 2007 13:18:21 -0000 1.10.2.3
+++ passdb-blocking.c 6 Feb 2007 09:49:43 -0000 1.10.2.4
@@ -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