[dovecot-cvs] dovecot/src/lib-imap imap-date.c,1.8,1.9
tss at dovecot.org
tss at dovecot.org
Sun May 13 16:24:37 EEST 2007
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-search.c, 1.132, 1.133
- Next message: [dovecot-cvs] dovecot/src/master main.c, 1.80.2.21, 1.80.2.22 ssl-init-main.c, 1.2, 1.2.2.1 ssl-init.c, 1.25.2.2, 1.25.2.3 ssl-init.h, 1.5, 1.5.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-imap
In directory talvi:/tmp/cvs-serv12532
Modified Files:
imap-date.c
Log Message:
imap_parse_date() returns failure now if there's any extra data after the
date.
Index: imap-date.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-imap/imap-date.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- imap-date.c 13 Jan 2006 20:26:09 -0000 1.8
+++ imap-date.c 13 May 2007 13:24:35 -0000 1.9
@@ -84,7 +84,7 @@
struct tm tm;
str = imap_parse_date_internal(str, &tm);
- if (str == NULL)
+ if (str == NULL || str[0] != '\0')
return FALSE;
tm.tm_isdst = -1;
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index index-search.c, 1.132, 1.133
- Next message: [dovecot-cvs] dovecot/src/master main.c, 1.80.2.21, 1.80.2.22 ssl-init-main.c, 1.2, 1.2.2.1 ssl-init.c, 1.25.2.2, 1.25.2.3 ssl-init.h, 1.5, 1.5.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list