[Commits] [SCM] claws branch, master, updated. 3.17.4-28-g47e9a6a80
paul at claws-mail.org
paul at claws-mail.org
Tue Sep 24 12:20:15 CET 2019
The branch, master has been updated
via 47e9a6a807ab30baae05f4557f82d63c70108a59 (commit)
from a7f12cfb634540b194f882c4939b04ad987ec891 (commit)
Summary of changes:
src/summaryview.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit 47e9a6a807ab30baae05f4557f82d63c70108a59
Author: Paul <paul at claws-mail.org>
Date: Tue Sep 24 13:20:10 2019 +0100
fix warning ā%sā directive output may be truncated writing up to 8191 bytes into a region of size 8187
diff --git a/src/summaryview.c b/src/summaryview.c
index 88c2c39c9..c7a83578f 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -3565,7 +3565,7 @@ static inline void summary_set_header(SummaryView *summaryview, gchar *text[],
to_text = to_text ? to_text : _("(No From)");
}
}
- snprintf(tmp2, BUFFSIZE-1, "ā %s", to_text);
+ snprintf(tmp2, BUFFSIZE+4, "ā %s", to_text);
tmp2[BUFFSIZE-1]='\0';
text[col_pos[S_COL_FROM]] = tmp2;
}
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list