From: Derick Rethans Date: Fri, 23 Apr 2004 13:28:25 +0000 (+0000) Subject: - Fixed buffer overflow in phpinfo() for Zend Extension Api NO. X-Git-Tag: php-5.0.0RC2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ee23d70660f48594f1f58dc665399972da77747;p=php - Fixed buffer overflow in phpinfo() for Zend Extension Api NO. --- diff --git a/ext/standard/info.c b/ext/standard/info.c index 7ad2e1a51e..1966793b28 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');