elixer Fri Apr 6 07:42:07 2001 EDT
Modified files:
/php4/ext/skeleton skeleton.c
Log:
Fixed possible overflow.
Index: php4/ext/skeleton/skeleton.c
diff -u php4/ext/skeleton/skeleton.c:1.11 php4/ext/skeleton/skeleton.c:1.12
--- php4/ext/skeleton/skeleton.c:1.11 Fri Dec 1 06:56:30 2000
+++ php4/ext/skeleton/skeleton.c Fri Apr 6 07:42:06 2001
@@ -97,7 +97,7 @@
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);
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]