[dovecot-cvs] dovecot/src/lib-index mail-index-sync.c,1.56,1.57
    cras at dovecot.org 
    cras at dovecot.org
       
    Tue Apr 19 16:27:49 EEST 2005
    
        - Previous message: [dovecot-cvs] dovecot/src/auth Makefile.am, 1.45,
	1.46 auth-client-connection.c, 1.35,
	1.36 auth-client-connection.h, 1.9,
	1.10 auth-master-connection.c, 1.32,
	1.33 auth-master-connection.h, 1.11,
	1.12 auth-master-listener.c, NONE, 1.1 auth-master-listener.h,
	NONE, 1.1 auth-request-handler.c, 1.4,
	1.5 auth-request-handler.h, 1.3, 1.4 auth-request.h, 1.14,
	1.15 main.c, 1.43, 1.44
 
        - Next message: [dovecot-cvs] dovecot/src/auth passdb-sql.c,1.17,1.18
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
    
  
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv12192/lib-index
Modified Files:
	mail-index-sync.c 
Log Message:
Crashfix in error conditions
Index: mail-index-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-sync.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- mail-index-sync.c	7 Apr 2005 22:22:18 -0000	1.56
+++ mail-index-sync.c	19 Apr 2005 13:27:47 -0000	1.57
@@ -300,7 +300,8 @@
 }
 
 #define MAIL_INDEX_IS_SYNCS_SAME(index) \
-	((index)->sync_log_file_seq == (index)->hdr->log_file_seq && \
+	((index)->hdr != NULL && \
+	 (index)->sync_log_file_seq == (index)->hdr->log_file_seq && \
 	 (index)->sync_log_file_offset == (index)->hdr->log_file_ext_offset)
 
 int mail_index_sync_begin(struct mail_index *index,
    
    
        
	- Previous message: [dovecot-cvs] dovecot/src/auth Makefile.am, 1.45,
	1.46 auth-client-connection.c, 1.35,
	1.36 auth-client-connection.h, 1.9,
	1.10 auth-master-connection.c, 1.32,
	1.33 auth-master-connection.h, 1.11,
	1.12 auth-master-listener.c, NONE, 1.1 auth-master-listener.h,
	NONE, 1.1 auth-request-handler.c, 1.4,
	1.5 auth-request-handler.h, 1.3, 1.4 auth-request.h, 1.14,
	1.15 main.c, 1.43, 1.44
 
	- Next message: [dovecot-cvs] dovecot/src/auth passdb-sql.c,1.17,1.18
 
         -  Messages sorted by: 
              [ date ]
              [ thread ]
              [ subject ]
              [ author ]
         
 
       
More information about the dovecot-cvs
mailing list