[Cyrus-CVS] src/cyrus/timsieved by brong

brong at andrew.cmu.edu brong at andrew.cmu.edu
Mon Feb 9 00:01:59 EST 2009


Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/timsieved
In directory unix34.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/timsieved

Modified Files:
	parser.c 
Log Message:
Add MAX_MAILBOX_BUFFER with enough space for name manipulation

It appears to be possible to create a mailbox with a name so long
that you can't delete it.  That sucks!

This patch works around it by having a bigger buffer for all the
name manipulation that goes on behind the scenes.

Also, quota.root only needs to be a MAX_MAILBOX_NAME size in
reality, so make that use MAX_MAILBOX_BUFFER too.

And get rid of a bunch of random use of MAX_MAILBOX_PATH when
it's bogus.  Not to mention some fixed buffer lengths.


--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/timsieved/parser.c.diff?r1=1.52&r2=1.53


More information about the Cyrus-cvs mailing list