]> granicus.if.org Git - php/commitdiff
Fixed possible overflow again.
authorSean Bright <elixer@php.net>
Fri, 6 Apr 2001 17:48:34 +0000 (17:48 +0000)
committerSean Bright <elixer@php.net>
Fri, 6 Apr 2001 17:48:34 +0000 (17:48 +0000)
# Heh...

ext/skeleton/skeleton.c

index f2b658f6c21a8d47fb7b925212236df53e460cb8..07fba1851887954801a783b0f434591a4e785476 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/%.80s/config.m4. Module %.80s is now compiled into PHP.", "extname", Z_STRVAL_PP(arg));
+       len = sprintf(string, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", Z_STRVAL_PP(arg));
        RETURN_STRINGL(string, len, 1);
 }
 /* }}} */