[dovecot-cvs] dovecot/src/pop3-login client.c,1.38,1.39

cras at dovecot.org cras at dovecot.org
Sun Jan 9 02:48:07 EET 2005


Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv27272/pop3-login

Modified Files:
	client.c 
Log Message:
Require a valid timestamp in APOP challenge.



Index: client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/client.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- client.c	28 Nov 2004 00:04:35 -0000	1.38
+++ client.c	9 Jan 2005 00:48:05 -0000	1.39
@@ -274,8 +274,9 @@
 	base64_encode(buffer, sizeof(buffer), buf);
 	buffer_append_c(buf, '\0');
 
-	ret = i_strdup_printf("<%x.%x.%s@%s>",
+	ret = i_strdup_printf("<%x.%x.%lx.%s@%s>",
 			      id->server_pid, id->connect_uid,
+			      (unsigned long)ioloop_time,
 			      (const char *)buf->data, my_hostname);
 	t_pop();
 	return ret;



More information about the dovecot-cvs mailing list