[dovecot-cvs] dovecot/src/lib-storage/index/maildir
maildir-storage.c, 1.115.2.3, 1.115.2.4
cras at dovecot.org
cras at dovecot.org
Sat Jun 17 16:03:12 EEST 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv5644/index/maildir
Modified Files:
Tag: branch_1_0
maildir-storage.c
Log Message:
When creating a mailbox, limit the number of hierarchies (to 20) and the
length of the mailbox name within a hierarchy (to 200).
Index: maildir-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-storage.c,v
retrieving revision 1.115.2.3
retrieving revision 1.115.2.4
diff -u -d -r1.115.2.3 -r1.115.2.4
--- maildir-storage.c 31 May 2006 13:21:08 -0000 1.115.2.3
+++ maildir-storage.c 17 Jun 2006 13:03:06 -0000 1.115.2.4
@@ -207,6 +207,9 @@
return FALSE;
}
+ if (mailbox_name_is_too_large(name, '.'))
+ return FALSE;
+
return TRUE;
}
More information about the dovecot-cvs
mailing list