[Commits] [SCM] claws branch, master, updated. 3.17.0-3-ge0a319b

wwp at claws-mail.org wwp at claws-mail.org
Sat Aug 18 09:35:08 CEST 2018


The branch, master has been updated
       via  e0a319b4b672c592f9824509d948914a4d167a1e (commit)
      from  779d80e310ba19b54c4293dd94b59b39d952b12f (commit)

Summary of changes:
 src/quote_fmt_parse.y |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit e0a319b4b672c592f9824509d948914a4d167a1e
Author: wwp <subscript at free.fr>
Date:   Sat Aug 18 09:34:09 2018 +0200

    Fix for Bug 4072: Crash when clicking 'reply' or 'reply with quote'
    Wrong '%\n' format causes a crash in g_strdup_printf.

diff --git a/src/quote_fmt_parse.y b/src/quote_fmt_parse.y
index 03c872a..92e300e 100644
--- a/src/quote_fmt_parse.y
+++ b/src/quote_fmt_parse.y
@@ -491,7 +491,7 @@ static void quote_fmt_show_msg(MsgInfo *msginfo, const gchar *body,
 		while (fgets(buf, sizeof(buf), fp) != NULL) {
 			strcrchomp(buf);
 
-			if (!signature && account_signatures_matchlist_nchar_found(buf, "%\n"))
+			if (!signature && account_signatures_matchlist_nchar_found(buf, "%s\n"))
 				break;
 		
 			if (quoted && quote_str)

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list