Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP2:GA
php74.35980
php74-CVE-2022-4900.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php74-CVE-2022-4900.patch of Package php74.35980
Index: php-7.4.33/sapi/cli/php_cli_server.c =================================================================== --- php-7.4.33.orig/sapi/cli/php_cli_server.c +++ php-7.4.33/sapi/cli/php_cli_server.c @@ -517,13 +517,8 @@ static int sapi_cli_server_startup(sapi_ if (php_cli_server_workers_max > 1) { zend_long php_cli_server_worker; - php_cli_server_workers = calloc( - php_cli_server_workers_max, sizeof(pid_t)); - if (!php_cli_server_workers) { - php_cli_server_workers_max = 1; - - return SUCCESS; - } + php_cli_server_workers = pecalloc( + php_cli_server_workers_max, sizeof(pid_t), 1); php_cli_server_master = getpid(); @@ -2361,7 +2356,7 @@ static void php_cli_server_dtor(php_cli_ !WIFSIGNALED(php_cli_server_worker_status)); } - free(php_cli_server_workers); + pefree(php_cli_server_workers, 1); } #endif } /* }}} */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor