File strncat.patch of Package gftp
--- src/uicommon/gftpui.c 2005-01-25 03:34:19.000000000 +0100 +++ src/uicommon/gftpui.c.new 2006-12-21 17:05:54.448967000 +0100 @@ -847,7 +847,8 @@ g_snprintf (cmdstr, sizeof (cmdstr), "%-10s", gftpui_common_commands[ele].command); - strncat (commands, cmdstr, sizeof (commands)); + strncat (commands, cmdstr, + sizeof (commands) - strlen (commands) - 1); } gftpui_common_logfunc (gftp_logging_misc_nolog, request, "%s\n", commands);