<<< Date Index >>>     <<< Thread Index >>>

Re: imap/2182: segFault on imaps folder change with mailboxes=.



The following reply was made to PR imap/2182; it has been noted by GNATS.

From: Paul Walker <paul@xxxxxxxxxxxxxxxxxxxxx>
To: Brendan Cully <brendan@xxxxxxxxxx>
Cc: bug-any@xxxxxxxxxxxxx
Subject: Re: imap/2182: segFault on imaps folder change with mailboxes=.
Date: Tue, 4 Apr 2006 01:17:05 +0100

 On Mon, Apr 03, 2006 at 05:09:22PM -0700, Brendan Cully wrote:
 
 > = and + always expand to $folder, so I don't think this is
 > inconsistent.
 
 What I was seeing on traces through was that imap_parse_path set mx.mbox to
 NULL. Your code does a strdup of "INBOX" if mx.mbox is NULL. So "=" does not
 expand to $folder in this particular case with the code in CVS.
 
 So, logically, if you test CVS mutt with a mailboxes line such as 
 
 mailboxes = ! foo
 
 you'll get INBOX and INBOX polled twice, and foo once.
 
 Didn't know you could use + as well. :)
 
 -- 
 Paul