ports/51569: [MAINTAINER] Update mail/offlineimap to 3.99.15

Sergei Kolobov sergei at kolobov.com
Wed Apr 30 10:50:24 UTC 2003


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

From: Sergei Kolobov <sergei at kolobov.com>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:  
Subject: Re: ports/51569: [MAINTAINER] Update mail/offlineimap to 3.99.15
Date: Wed, 30 Apr 2003 14:40:28 +0400

 Please add a new patch:
 - files/patch-Maildir.py
 
 This patch fixes infinite directory traversal loop when Maildir
 separator is '/'. The patch was supplied by John Goerzen, OfflineIMAP's
 author, and will be included in the next release (3.99.16).
 
 Modified: offlineimap/repository/Maildir.py
 ==============================================================================
 --- offlineimap/repository/Maildir.py	(original)
 +++ offlineimap/repository/Maildir.py	2003-04-29 11:30:31.000000000 -0500
 @@ -132,7 +132,7 @@
  
                  retval.append(folder.Maildir.MaildirFolder(self.root, foldername,
                                                             self.getsep(), self, self.accountname))
 -            if self.getsep() == '/':
 +            if self.getsep() == '/' and dirname != '.':
                  # Check sub-directories for folders.
                  retval.extend(self._getfolders_scandir(root, foldername))
          self.debug("_GETFOLDERS_SCANDIR RETURNING %s" % \
 
 
 
 



More information about the freebsd-ports-bugs mailing list