[dovecot-cvs] dovecot/src/lib-storage/index/mbox mbox-sync.c, 1.90, 1.91

cras at dovecot.org cras at dovecot.org
Fri Sep 24 15:02:36 EEST 2004


Update of /var/lib/cvs/dovecot/src/lib-storage/index/mbox
In directory talvi:/tmp/cvs-serv20508/lib-storage/index/mbox

Modified Files:
	mbox-sync.c 
Log Message:
crashfix



Index: mbox-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/mbox/mbox-sync.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- mbox-sync.c	24 Sep 2004 11:47:30 -0000	1.90
+++ mbox-sync.c	24 Sep 2004 12:02:34 -0000	1.91
@@ -313,7 +313,7 @@
 			return -1;
 		}
 
-		if (memcmp(data, hdr_md5_sum, 16) == 0)
+		if (data != NULL && memcmp(data, hdr_md5_sum, 16) == 0)
 			break;
 
 		/* externally expunged message, remove from index */



More information about the dovecot-cvs mailing list