[dovecot-cvs] dovecot/src/imap imap-fetch.c,1.22,1.23

cras at dovecot.org cras at dovecot.org
Mon Aug 23 17:48:32 EEST 2004


Update of /home/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv15417

Modified Files:
	imap-fetch.c 
Log Message:
Same FETCH handler could have been executed infinitely if client didn't read
the data fast enough.



Index: imap-fetch.c
===================================================================
RCS file: /home/cvs/dovecot/src/imap/imap-fetch.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- imap-fetch.c	15 Aug 2004 03:40:30 -0000	1.22
+++ imap-fetch.c	23 Aug 2004 14:48:29 -0000	1.23
@@ -169,6 +169,7 @@
 
 		ctx->cont_handler = NULL;
 		ctx->cur_offset = 0;
+                ctx->cur_handler++;
 	}
 
 	handlers = buffer_get_data(ctx->handlers, &size);



More information about the dovecot-cvs mailing list