set_ftp_greeting: fix buffer overflow