rpms/thunderbird/F-11 thunderbird-imap-startup-crash.patch, NONE, 1.1 thunderbird.spec, 1.134, 1.135

Christopher Aillon caillon at fedoraproject.org
Wed May 13 20:24:43 UTC 2009


Author: caillon

Update of /cvs/extras/rpms/thunderbird/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20742

Modified Files:
	thunderbird.spec 
Added Files:
	thunderbird-imap-startup-crash.patch 
Log Message:
* Wed May 13 2009 Christopher Aillon <caillon at redhat.com> - 3.0-2.3
- Fix startup crash when imap server sends list response with trailing delimiter


thunderbird-imap-startup-crash.patch:

--- NEW FILE thunderbird-imap-startup-crash.patch ---

# HG changeset patch
# User David Bienvenu <bienvenu at nventure.com>
# Date 1236181428 28800
# Node ID 513295ae0230e3d0baa73b1ee98627d4b2f97d24
# Parent f290d90a853210f29f7b9306abf657dd81f0d6b5
fix crash on startup when imap server sends list response with trailing delimiter (not /), r/sr=standard8, 480870

--- a/mailnews/imap/src/nsImapIncomingServer.cpp	Wed Mar 04 10:59:11 2009 +0000
+++ b/mailnews/imap/src/nsImapIncomingServer.cpp	Wed Mar 04 07:43:48 2009 -0800
@@ -1109,7 +1109,7 @@ NS_IMETHODIMP nsImapIncomingServer::Poss
     return rv;
 
   nsCAutoString dupFolderPath(folderPath);
-  if (dupFolderPath.Last() == hierarchyDelimiter)
+  if (dupFolderPath.Last() == '/')
   {
     dupFolderPath.SetLength(dupFolderPath.Length()-1);
     // *** this is what we did in 4.x in order to list uw folder only



Index: thunderbird.spec
===================================================================
RCS file: /cvs/extras/rpms/thunderbird/F-11/thunderbird.spec,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -p -r1.134 -r1.135
--- thunderbird.spec	30 Mar 2009 14:10:06 -0000	1.134
+++ thunderbird.spec	13 May 2009 20:24:12 -0000	1.135
@@ -9,7 +9,7 @@
 Summary:        Mozilla Thunderbird mail/newsgroup client
 Name:           thunderbird
 Version:        3.0
-Release:        2.2.beta2%{?dist}
+Release:        2.3.beta2%{?dist}
 URL:            http://www.mozilla.org/projects/thunderbird/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Internet
@@ -33,6 +33,8 @@ Patch1:         mozilla-jemalloc.patch
 Patch2:         thunderbird-shared-error.patch
 Patch3:         xulrunner-elif.patch
 Patch4:         thunderbird-pango.patch
+Patch5:         thunderbird-imap-startup-crash.patch
+
 
 %if %{official_branding}
 # Required by Mozilla Corporation
@@ -87,6 +89,7 @@ Mozilla Thunderbird is a standalone mail
 %patch2 -p1 -b .shared-error
 %patch3 -p0 -b .xulrunner-elif
 %patch4 -p1 -b .pango-fix
+%patch5 -p1 -b .imap-startup-crash
 
 %if %{official_branding}
 # Required by Mozilla Corporation
@@ -298,6 +301,9 @@ fi
 #===============================================================================
 
 %changelog
+* Wed May 13 2009 Christopher Aillon <caillon at redhat.com> - 3.0-2.3
+- Fix startup crash when imap server sends list response with trailing delimiter
+
 * Mon Mar 30 2009 Jan Horak <jhorak at redhat.com> - 3.0-2.2.beta2
 - Fixed open-browser.sh to use xdg-open instead of gnome-open
 




More information about the scm-commits mailing list