[dovecot-cvs] dovecot/src/plugins/mail-log mail-log-plugin.c, 1.2, 1.3
tss at dovecot.org
tss at dovecot.org
Wed Feb 7 01:45:35 UTC 2007
- Previous message: [dovecot-cvs] dovecot/src/plugins/mail-log mail-log-plugin.c, 1.1.2.1, 1.1.2.2
- Next message: [dovecot-cvs] dovecot/doc Makefile.am, 1.11, 1.11.2.1 USE-WIKI-INSTEAD, 1.1, 1.1.2.1 auth.txt, 1.11, NONE configuration.txt, 1.10, NONE design.txt, 1.4, NONE index.txt, 1.7, NONE mail-storages.txt, 1.7, NONE multiaccess.txt, 1.4, NONE nfs.txt, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/plugins/mail-log
In directory talvi:/tmp/cvs-serv18369
Modified Files:
mail-log-plugin.c
Log Message:
Don't crash with expunging mails with non-existing message-id header.
Index: mail-log-plugin.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/mail-log/mail-log-plugin.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mail-log-plugin.c 18 Jan 2007 18:45:33 -0000 1.2
+++ mail-log-plugin.c 7 Feb 2007 01:45:33 -0000 1.3
@@ -40,7 +40,7 @@
msgid = mail_get_first_header(mail, "Message-ID");
i_info("%s: uid=%u, msgid=%s", action, mail->uid,
- str_sanitize(msgid, MSGID_LOG_LEN));
+ msgid == NULL ? "(null)" : str_sanitize(msgid, MSGID_LOG_LEN));
}
static int mail_log_mail_expunge(struct mail *_mail)
- Previous message: [dovecot-cvs] dovecot/src/plugins/mail-log mail-log-plugin.c, 1.1.2.1, 1.1.2.2
- Next message: [dovecot-cvs] dovecot/doc Makefile.am, 1.11, 1.11.2.1 USE-WIKI-INSTEAD, 1.1, 1.1.2.1 auth.txt, 1.11, NONE configuration.txt, 1.10, NONE design.txt, 1.4, NONE index.txt, 1.7, NONE mail-storages.txt, 1.7, NONE multiaccess.txt, 1.4, NONE nfs.txt, 1.5, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list