[Cyrus-CVS] src/cyrus/imap 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/imap
In directory unix34.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/imap
Modified Files:
annotate.c append.h arbitron.c ctl_mboxlist.c cyr_expire.c
cyr_virusscan.c cyrdump.c fud.c global.c idled.h imap_proxy.c
imapd.c ipurge.c lmtp_sieve.c lmtpd.c mailbox.c mailbox.h
make_md5.c make_sha1.c mbdump.c mboxlist.c mboxlist.h
mboxname.c mupdate.c mupdate.h nntpd.c pop3d.c proxy.h quota.c
quota_db.c reconstruct.c smmapd.c squatter.c statuscache_db.c
sync_client.c sync_log.c sync_reset.c sync_server.c user.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/imap/annotate.c.diff?r1=1.42&r2=1.43
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/append.h.diff?r1=1.31&r2=1.32
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/arbitron.c.diff?r1=1.46&r2=1.47
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/ctl_mboxlist.c.diff?r1=1.63&r2=1.64
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/cyr_expire.c.diff?r1=1.20&r2=1.21
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/cyr_virusscan.c.diff?r1=1.5&r2=1.6
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/cyrdump.c.diff?r1=1.21&r2=1.22
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/fud.c.diff?r1=1.56&r2=1.57
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/global.c.diff?r1=1.28&r2=1.29
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/idled.h.diff?r1=1.7&r2=1.8
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/imap_proxy.c.diff?r1=1.11&r2=1.12
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/imapd.c.diff?r1=1.555&r2=1.556
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/ipurge.c.diff?r1=1.31&r2=1.32
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/lmtp_sieve.c.diff?r1=1.17&r2=1.18
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/lmtpd.c.diff?r1=1.161&r2=1.162
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mailbox.c.diff?r1=1.185&r2=1.186
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mailbox.h.diff?r1=1.91&r2=1.92
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/make_md5.c.diff?r1=1.8&r2=1.9
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/make_sha1.c.diff?r1=1.4&r2=1.5
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mbdump.c.diff?r1=1.42&r2=1.43
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mboxlist.c.diff?r1=1.261&r2=1.262
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mboxlist.h.diff?r1=1.44&r2=1.45
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mboxname.c.diff?r1=1.45&r2=1.46
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mupdate.c.diff?r1=1.106&r2=1.107
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/mupdate.h.diff?r1=1.18&r2=1.19
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/nntpd.c.diff?r1=1.69&r2=1.70
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/pop3d.c.diff?r1=1.190&r2=1.191
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/proxy.h.diff?r1=1.3&r2=1.4
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/quota.c.diff?r1=1.70&r2=1.71
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/quota_db.c.diff?r1=1.8&r2=1.9
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/reconstruct.c.diff?r1=1.106&r2=1.107
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/smmapd.c.diff?r1=1.21&r2=1.22
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/squatter.c.diff?r1=1.22&r2=1.23
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/statuscache_db.c.diff?r1=1.4&r2=1.5
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/sync_client.c.diff?r1=1.39&r2=1.40
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/sync_log.c.diff?r1=1.4&r2=1.5
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/sync_reset.c.diff?r1=1.6&r2=1.7
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/sync_server.c.diff?r1=1.26&r2=1.27
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/user.c.diff?r1=1.25&r2=1.26
More information about the Cyrus-cvs
mailing list