From 9ee23d70660f48594f1f58dc665399972da77747 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 23 Apr 2004 13:28:25 +0000 Subject: [PATCH] - Fixed buffer overflow in phpinfo() for Zend Extension Api NO. --- ext/standard/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/info.c b/ext/standard/info.c index 7ad2e1a51e9..1966793b284 100644 --- a/ext/standard/info.c +++ b/ext/standard/info.c @@ -394,7 +394,7 @@ PHPAPI void php_print_info(int flag TSRMLS_DC) 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');