[dovecot-cvs] dovecot/src/plugins/acl acl-backend-vfile.c, 1.17, 1.18
tss at dovecot.org
tss at dovecot.org
Wed Apr 11 22:31:34 EEST 2007
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.10, 1.11
- Next message: [dovecot-cvs] dovecot/src/plugins/acl Makefile.am, 1.4, 1.5 acl-api-private.h, 1.5, 1.6 acl-api.c, 1.6, 1.7 acl-api.h, 1.4, 1.5 acl-backend-vfile-acllist.c, NONE, 1.1 acl-backend-vfile.c, 1.18, 1.19 acl-backend-vfile.h, NONE, 1.1 acl-backend.c, 1.6, 1.7 acl-cache.c, 1.7, 1.8 acl-cache.h, 1.3, 1.4 acl-mailbox-list.c, 1.5, 1.6 acl-plugin.c, 1.5, 1.6 acl-storage.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/plugins/acl
In directory talvi:/tmp/cvs-serv4375
Modified Files:
acl-backend-vfile.c
Log Message:
Don't break if empty data was given
Index: acl-backend-vfile.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/acl/acl-backend-vfile.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- acl-backend-vfile.c 11 Apr 2007 17:40:18 -0000 1.17
+++ acl-backend-vfile.c 11 Apr 2007 19:31:29 -0000 1.18
@@ -85,7 +85,9 @@
backend->global_dir = p_strdup_empty(_backend->pool, *tmp);
backend->cache_secs = ACL_VFILE_DEFAULT_CACHE_SECS;
- while (*++tmp != NULL) {
+ if (*tmp != NULL)
+ tmp++;
+ for (; *tmp != NULL; tmp++) {
if (strncmp(*tmp, "cache_secs=", 11) == 0)
backend->cache_secs = atoi(*tmp + 11);
else {
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/list index-mailbox-list.c, 1.10, 1.11
- Next message: [dovecot-cvs] dovecot/src/plugins/acl Makefile.am, 1.4, 1.5 acl-api-private.h, 1.5, 1.6 acl-api.c, 1.6, 1.7 acl-api.h, 1.4, 1.5 acl-backend-vfile-acllist.c, NONE, 1.1 acl-backend-vfile.c, 1.18, 1.19 acl-backend-vfile.h, NONE, 1.1 acl-backend.c, 1.6, 1.7 acl-cache.c, 1.7, 1.8 acl-cache.h, 1.3, 1.4 acl-mailbox-list.c, 1.5, 1.6 acl-plugin.c, 1.5, 1.6 acl-storage.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list