diff options
author | Max Kalika <max@gentoo.org> | 2004-01-20 18:07:08 +0000 |
---|---|---|
committer | Max Kalika <max@gentoo.org> | 2004-01-20 18:07:08 +0000 |
commit | b46881cad70831f4be5146f73351c8df7a8a3d72 (patch) | |
tree | ead8a9938e6b312bf34ede844f605331dca308d1 /net-mail/cyrus-imap-admin/files/imap-overflow.diff | |
parent | Fix digests (diff) | |
download | historical-b46881cad70831f4be5146f73351c8df7a8a3d72.tar.gz historical-b46881cad70831f4be5146f73351c8df7a8a3d72.tar.bz2 historical-b46881cad70831f4be5146f73351c8df7a8a3d72.zip |
Remove some stale files. Fix date headers.
Diffstat (limited to 'net-mail/cyrus-imap-admin/files/imap-overflow.diff')
-rw-r--r-- | net-mail/cyrus-imap-admin/files/imap-overflow.diff | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/net-mail/cyrus-imap-admin/files/imap-overflow.diff b/net-mail/cyrus-imap-admin/files/imap-overflow.diff deleted file mode 100644 index c6ee0cac3864..000000000000 --- a/net-mail/cyrus-imap-admin/files/imap-overflow.diff +++ /dev/null @@ -1,29 +0,0 @@ -diff -urN cyrus-imapd-2.1.10/imap/imapparse.c cyrus-imapd-2.1.10-modified/imap/imapparse.c ---- cyrus-imapd-2.1.10/imap/imapparse.c 2002-12-03 17:08:02.000000000 -0600 -+++ cyrus-imapd-2.1.10-modified/imap/imapparse.c 2002-12-03 17:45:52.000000000 -0600 -@@ -97,7 +97,7 @@ - struct buf *buf, int type) - { - int c; -- int i; -+ unsigned int i; - unsigned int len = 0; - int sawdigit = 0; - int isnowait; -@@ -228,6 +228,16 @@ - if (c != EOF) prot_ungetc(c, pin); - return EOF; - } -+ if (len > 65536) { -+ if (isnowait) { -+ for (i = 0; i < len; i++) -+ c = prot_getc(pin); -+ } -+ prot_printf(pout, "* BAD Literal too large\r\n"); -+ prot_flush(pout); -+ if (c != EOF) prot_ungetc(c, pin); -+ return EOF; -+ } - if (len >= buf->alloc) { - buf->alloc = len+1; - buf->s = xrealloc(buf->s, buf->alloc+1); |