derick Fri Apr 23 09:28:25 2004 EDT
Modified files:
/php-src/ext/standard info.c
Log:
- Fixed buffer overflow in phpinfo() for Zend Extension Api NO.
http://cvs.php.net/diff.php/php-src/ext/standard/info.c?r1=1.243&r2=1.244&ty=u
Index: php-src/ext/standard/info.c
diff -u php-src/ext/standard/info.c:1.243 php-src/ext/standard/info.c:1.244
--- php-src/ext/standard/info.c:1.243 Mon Mar 15 02:45:25 2004
+++ php-src/ext/standard/info.c Fri Apr 23 09:28:25 2004
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: info.c,v 1.243 2004/03/15 07:45:25 jon Exp $ */
+/* $Id: info.c,v 1.244 2004/04/23 13:28:25 derick Exp $ */
#include "php.h"
#include "php_ini.h"
@@ -394,7 +394,7 @@
if (flag & PHP_INFO_GENERAL) {
char *zend_version = get_zend_version();
- char temp_api[9];
+ char temp_api[10];
char *logo_guid;
php_uname = php_get_uname('a');
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php