head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.46 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.44 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.42 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.40 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.2.0.38 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.36 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.34 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.32 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.30 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.2.0.28 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.26 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.24 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.22 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.20 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.18 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.16 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.14 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.12 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.10 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.8 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.6 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.4 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2; locks; strict; comment @# @; 1.2 date 2004.11.28.14.34.07; author recht; state dead; branches; next 1.1; 1.1 date 2004.10.17.22.07.32; author recht; state Exp; branches; next ; desc @@ 1.2 log @update to cyrus-imapd-2.2.10. Patch by adrianp@@. While at it also make it build on OSX. Changes to the Cyrus IMAP Server since 2.2.9 Fix 0 termination in mysasl_canon_user. Check for imap magic plus buffer overflow in proxyd also (CAN-2004-1015). Changes to the Cyrus IMAP Server since 2.2.8 Change ACLs correctly when renaming a user Do not abandon std{in,out,err} file descriptors; syslog assumes it can use stderr if syslogd isn't running. Clean up imap magic plus to avoid buffer overrun (CAN-2004-1011) Fix lack of bounds checking in PARTIAL and FETCH (CAN-2004-1012, CAN-2004-10 13) Do not attempt to reuse a freed connection in lmtpproxyd. Allow login without authentication with -N switch in proxyd. Fix use of xrealloc and fold pointers in lmtpengine. @ text @$NetBSD: patch-ab,v 1.1 2004/10/17 22:07:32 recht Exp $ --- imap/message.c.orig Fri Feb 27 18:44:55 2004 +++ imap/message.c Sun Oct 17 15:38:34 2004 @@@@ -285,7 +285,9 @@@@ /* Go back and check headers */ sawnl = 1; for (;;) { - if (!fgets(buf, sizeof(buf), to)) return IMAP_MESSAGE_NOBLANKLINE; + if (!fgets(buf, sizeof(buf), to)) { + return sawnl ? 0 : IMAP_MESSAGE_BADHEADER; + } /* End of header section */ if (sawnl && buf[0] == '\r') return 0; @ 1.1 log @Apply patches from CVS to accept messages with missing body (valid according to RFC 2822). Patches forwarded by Jukka Salmi in PR 27239 Bump PKGVERSION to 4. @ text @d1 1 a1 1 $NetBSD$ @