cvs: php4 /ext/skeleton skeleton.c
| From: | Sean Bright | Date: | Fri, 06 Apr 2001 17:48:34 +0000 |
| Subject: | cvs: php4 /ext/skeleton skeleton.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5014@lists.php.net to get a copy of this message | ||
elixer Fri Apr 6 10:48:34 2001 EDT
Modified files:
/php4/ext/skeleton skeleton.c
Log:
Fixed possible overflow again.
# Heh...
Index: php4/ext/skeleton/skeleton.c
diff -u php4/ext/skeleton/skeleton.c:1.13 php4/ext/skeleton/skeleton.c:1.14
--- php4/ext/skeleton/skeleton.c:1.13 Fri Apr 6 09:04:25 2001
+++ php4/ext/skeleton/skeleton.c Fri Apr 6 10:48:34 2001
@@ -97,7 +97,7 @@
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);
}
/* }}} */