+++ /dev/null
---- mutt-1.4.2.2/handler.c~ 2007-02-19 23:35:33.000000000 +0100
-+++ mutt-1.4.2.2/handler.c 2007-02-19 23:36:28.000000000 +0100
-@@ -235,8 +235,8 @@
-
- void mutt_decode_quoted (STATE *s, long len, int istext, iconv_t cd)
- {
-- char line[STRING];
-- char decline[2*STRING];
-+ char line[LONG_STRING];
-+ char decline[2*LONG_STRING];
- size_t l = 0;
- size_t l2;
- size_t l3;
+++ /dev/null
---- mutt-1.4.2.1/configure.in.orig 2005-08-21 21:28:37.000000000 +0200
-+++ mutt-1.4.2.1/configure.in 2005-08-21 21:30:40.000000000 +0200
-@@ -42,9 +42,9 @@
- AC_C_INLINE
- AC_C_CONST
-
--AC_PATH_PROG(DBX, dbx, no)
--AC_PATH_PROG(GDB, gdb, no)
--AC_PATH_PROG(SDB, sdb, no)
-+DBX=no
-+GDB=/usr/bin/gdb
-+SDB=no
-
- if test $GDB != no ; then
- DEBUGGER=$GDB
-@@ -58,8 +58,7 @@
-
- AC_SUBST(DEBUGGER)
-
--ac_aux_path_sendmail=/usr/sbin:/usr/lib
--AC_PATH_PROG(SENDMAIL, sendmail, /usr/sbin/sendmail, $PATH:$ac_aux_path_sendmail)
-+ac_cv_path_SENDMAIL=/usr/sbin/sendmail
- AC_DEFINE_UNQUOTED(SENDMAIL,"$ac_cv_path_SENDMAIL",[ Where to find sendmail on your system. ])
-
- OPS='$(srcdir)/OPS'
-@@ -101,7 +100,7 @@
- AC_DEFINE_UNQUOTED(SUBVERSION,"$SUBVERSION",[ Is this the international version? ])
- AC_SUBST(SUBVERSION)
-
--AC_PATH_PROG(ISPELL, ispell, no)
-+ISPELL=/usr/bin/ispell
- if test $ISPELL != no; then
- AC_DEFINE_UNQUOTED(ISPELL,"$ISPELL",[ Where to find ispell on your system. ])
- fi
+++ /dev/null
---- mutt-1.4.2.2/imap/auth_sasl.c.orig 2006-08-21 20:08:06.165971000 +0200
-+++ mutt-1.4.2.2/imap/auth_sasl.c 2006-08-21 20:32:39.285971000 +0200
-@@ -32,7 +32,7 @@
- sasl_conn_t* saslconn;
- sasl_interact_t* interaction = NULL;
- int rc, irc;
-- char buf[LONG_STRING];
-+ char buf[HUGE_STRING];
- const char* mech;
- const char* pc = NULL;
- unsigned int len, olen;
-@@ -107,7 +107,7 @@
- if (irc == IMAP_CMD_RESPOND)
- {
- if (sasl_decode64 (idata->cmd.buf+2, strlen (idata->cmd.buf+2), buf,
-- LONG_STRING,&len) != SASL_OK)
-+ LONG_STRING-1, &len) != SASL_OK)
- {
- dprint (1, (debugfile, "imap_auth_sasl: error base64-decoding server response.\n"));
- goto bail;
---- mutt-1.4.2.2/mutt_sasl.c.orig 2006-08-21 20:08:06.205971000 +0200
-+++ mutt-1.4.2.2/mutt_sasl.c 2006-08-21 20:31:54.415971000 +0200
-@@ -383,7 +383,6 @@
-
- /* release sasl resources */
- sasl_dispose (&sasldata->saslconn);
-- FREE (&sasldata->buf);
- FREE (&sasldata);
-
- /* call underlying close */
-@@ -415,7 +414,6 @@
-
- conn->sockdata = sasldata->sockdata;
-
-- FREE (&sasldata->buf);
- sasldata->bpos = 0;
- sasldata->blen = 0;
-
-@@ -486,7 +484,6 @@
- }
-
- rc = (sasldata->write) (conn, pbuf, plen);
-- FREE (&pbuf);
- if (rc != plen)
- goto fail;
-