]> granicus.if.org Git - php/commitdiff
Fixed possible overflow.
authorSean Bright <elixer@php.net>
Fri, 6 Apr 2001 14:42:06 +0000 (14:42 +0000)
committerSean Bright <elixer@php.net>
Fri, 6 Apr 2001 14:42:06 +0000 (14:42 +0000)
ext/skeleton/skeleton.c

index 7b2d63b1ea8f91a9331782411c4b98663b3f9e35..59ce16701fee763d40d5e1205b26cf72f4d51cce 100644 (file)
@@ -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);
 }
 /* }}} */