From dd5deda1b238f943d0c6c94c7898c960f6f01aa4 Mon Sep 17 00:00:00 2001 From: sgunderson Date: Sat, 1 Nov 2003 12:32:27 +0000 Subject: [PATCH] Fixed a security problem where the custom snprintf() would always be used. Thanks to Alexis Wilke for pointing this out. --- ftpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2