From: sgunderson Date: Sat, 1 Nov 2003 12:32:27 +0000 (+0000) Subject: Fixed a security problem where the custom snprintf() would always be used. Thanks... X-Git-Url: https://git.sesse.net/?p=betaftpd;a=commitdiff_plain Fixed a security problem where the custom snprintf() would always be used. Thanks to Alexis Wilke for pointing this out. --- diff --git a/ftpd.c b/ftpd.c index 7d52ba3..f013777 100644 --- a/ftpd.c +++ b/ftpd.c @@ -215,7 +215,7 @@ int sendfile_supported = 1; */ int time_to_check = 1; -#ifndef HAVE_SPRINTF +#ifndef HAVE_SNPRINTF /* * snprintf(): snprintf() replacement for systems that miss it. Note * that this implementation does _not_ necessarily protect