- Fixed buffer overflow in phpinfo() for Zend Extension Api NO.

This commit is contained in:
Derick Rethans 2004-04-23 13:28:25 +00:00
parent 16f8b66e46
commit 9ee23d7066

View File

@ -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');