From: Sean Bright Date: Fri, 6 Apr 2001 14:42:06 +0000 (+0000) Subject: Fixed possible overflow. X-Git-Tag: php-4.0.6RC1~473 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10eaf14db9b8be5027fb97fa3d710071c5819af8;p=php Fixed possible overflow. --- diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c index 7b2d63b1ea..59ce16701f 100644 --- a/ext/skeleton/skeleton.c +++ b/ext/skeleton/skeleton.c @@ -97,7 +97,7 @@ PHP_FUNCTION(confirm_extname_compiled) convert_to_string_ex(arg); - len = sprintf(string, "Congratulations, you have successfully modified ext/extname/config.m4, module %s is compiled into PHP", Z_STRVAL_PP(arg)); + len = sprintf(string, "Congratulations, you have successfully modified ext/%.80s/config.m4, module %.80s is compiled into PHP", "extname", Z_STRVAL_PP(arg)); RETURN_STRINGL(string, len, 1); } /* }}} */