diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-26 07:11:42 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2013-11-26 07:11:42 +0000 |
commit | add2919b7ba3c008b188998af8612502a6f796ff (patch) | |
tree | b8571bcdb706d2fdb538aa3f8bd682dab96111db /src | |
parent | f00de36ea0b8913f6d241c3aa9a08a7270a90450 (diff) |
src/headerview.c: headerview_show_xface(): make sure xface is nul terminated.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3298 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/headerview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/headerview.c b/src/headerview.c index efa2f803..984e8bc7 100644 --- a/src/headerview.c +++ b/src/headerview.c @@ -284,7 +284,7 @@ static void headerview_show_xface(HeaderView *headerview, MsgInfo *msginfo) } if (!GTK_WIDGET_VISIBLE(headerview->hbox)) return; - strncpy(xface, msginfo->xface, sizeof(xface)); + strncpy2(xface, msginfo->xface, sizeof(xface)); if (uncompface(xface) < 0) { g_warning("uncompface failed\n"); |