[Commits] [SCM] claws branch, master, updated. 3.11.1-207-geee39d7

claws at claws-mail.org claws at claws-mail.org
Wed Jul 15 20:23:10 CEST 2015


The branch, master has been updated
       via  eee39d758fa409d1c5ebce06228184023f0b86b5 (commit)
      from  463abe4effd5dedc7e41332a6f9cbe185f0bb738 (commit)

Summary of changes:
 AUTHORS           |    1 +
 src/gtk/authors.h |    1 +
 src/imap.c        |    4 +++-
 3 files changed, 5 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit eee39d758fa409d1c5ebce06228184023f0b86b5
Author: Paul <paul at claws-mail.org>
Date:   Wed Jul 15 19:23:05 2015 +0100

    fix bug 2435, ' Infinite loop+crash when refreshing folders from dovecot mbox based mailbox'
    
    Patch by Oliver Schneider

diff --git a/AUTHORS b/AUTHORS
index 6803548..cf309b8 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -314,3 +314,4 @@ contributors (in addition to the above; based on Changelog)
 	Johan Vromans
 	Charles Lehner
 	Robert David
+	Oliver Schneider
diff --git a/src/gtk/authors.h b/src/gtk/authors.h
index 8a77633..f719e4b 100644
--- a/src/gtk/authors.h
+++ b/src/gtk/authors.h
@@ -249,6 +249,7 @@ static char *CONTRIBS_LIST[] = {
 "Mohammed Sameer",
 "Tobias Sandhaas",
 "Peter Sarvas",
+"Oliver Schneider",
 "Torsten Schoenfeld",
 "Simon 'corecode' Schubert",
 "Kim Schulz",
diff --git a/src/imap.c b/src/imap.c
index 45acb6a..9f53354 100644
--- a/src/imap.c
+++ b/src/imap.c
@@ -5644,7 +5644,9 @@ static GSList * imap_list_from_lep(IMAPFolder * folder,
 			}
 
 			if (!all && dup_name[strlen(dup_name)-1] == '/') {
-				dup_name[strlen(dup_name)-1] = '\0';
+				g_free(base);
+				free(dup_name);
+				continue;
 			}
 
 			loc_name = imap_modified_utf7_to_utf8(base, FALSE);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list