diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index a4fd46569..e3cf7b607 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -1776,7 +1776,8 @@ renamecmd(char *from, char *to) static void dolog(struct sockaddr *sa, int sa_len) { - getnameinfo (sa, sa_len, remotehost, sizeof(remotehost), NULL, 0, 0); + getnameinfo_verified (sa, sa_len, remotehost, sizeof(remotehost), + NULL, 0, 0); #ifdef HAVE_SETPROCTITLE snprintf(proctitle, sizeof(proctitle), "%s: connected", remotehost); setproctitle(proctitle);