1 --- mutt-1.4.2.2/imap/auth_sasl.c.orig 2006-08-21 20:08:06.165971000 +0200
2 +++ mutt-1.4.2.2/imap/auth_sasl.c 2006-08-21 20:32:39.285971000 +0200
5 sasl_interact_t* interaction = NULL;
7 - char buf[LONG_STRING];
8 + char buf[HUGE_STRING];
10 const char* pc = NULL;
11 unsigned int len, olen;
13 if (irc == IMAP_CMD_RESPOND)
15 if (sasl_decode64 (idata->cmd.buf+2, strlen (idata->cmd.buf+2), buf,
16 - LONG_STRING,&len) != SASL_OK)
17 + LONG_STRING-1, &len) != SASL_OK)
19 dprint (1, (debugfile, "imap_auth_sasl: error base64-decoding server response.\n"));
21 --- mutt-1.4.2.2/mutt_sasl.c.orig 2006-08-21 20:08:06.205971000 +0200
22 +++ mutt-1.4.2.2/mutt_sasl.c 2006-08-21 20:31:54.415971000 +0200
25 /* release sasl resources */
26 sasl_dispose (&sasldata->saslconn);
27 - FREE (&sasldata->buf);
30 /* call underlying close */
33 conn->sockdata = sasldata->sockdata;
35 - FREE (&sasldata->buf);
42 rc = (sasldata->write) (conn, pbuf, plen);