mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
- Fixed buffer overflow in phpinfo() for Zend Extension Api NO.
This commit is contained in:
parent
16f8b66e46
commit
9ee23d7066
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user