Re: IMAP reconnect crash
- To: mutt-dev@xxxxxxxx
- Subject: Re: IMAP reconnect crash
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Tue, 17 Feb 2009 18:08:02 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=y+OBNcqoo8Bm77m0T7siMY8kGAY=; b=gB9e ayJx+OczELj9tLqCI+gDhc70makxuzedEqSaLJa36/xgX/9p0/st0MI8ZZ3btTqu 4iYYccorKYFEQemJxwE9XLRwEuJmosdObc+l/e3mTL8+MOniNEjHG02KVp+/L6rb NnDpF4ch2YYIAzg+QFLIGNnH295rwcgG+8V5iVY=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=FpXon64VdcEbeWhza7XeqSyLkAvRIXUUO/9rF7rUy8iFMjX+Ag92IsnD/58tzi2tM8az/2l4GX9/jJYLmscZlVKq/08Xl8qapSSXSTAy7oYCJLmwi0HQ4h8zwJrnNKwFKb3U52XZWFpuZVkyd/2nGU4ITH771pvXFS33pU2ReQU=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090217233506.GB64976@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20090217233506.GB64976@xxxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-01-27)
On Tuesday, February 17 at 05:35 PM, quoth Kyle Wheeler:
But I wonder if we can get by with saying:
if (sasldata->buf == 0) return -1;
For what it's worth, adding this line to mutt_sasl_conn_poll() does
avoid the crash. It's probably not the *right* way to do it, but... :)
~Kyle
--
Never worry about theory as long as the machinery does what it's
supposed to do.
-- Robert A. Heinlein
Attachment:
pgp5XZ8L1muPO.pgp
Description: PGP signature