Date: Wed, 30 Apr 2003 03:50:23 -0700 (PDT) From: Sergei Kolobov <sergei@kolobov.com> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/51569: [MAINTAINER] Update mail/offlineimap to 3.99.15 Message-ID: <200304301050.h3UAoNQJ072232@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/51569; it has been noted by GNATS. From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@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" % \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304301050.h3UAoNQJ072232>