diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/headerview.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2013-11-26 + + * src/headerview.c: headerview_show_xface(): make sure xface is nul + terminated. + 2013-11-25 * src/main.c: win32: check for the TaskbarCreated message and reshow 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"); |