Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
php72.24758
php72-CVE-2015-9253.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php72-CVE-2015-9253.patch of Package php72.24758
Index: php-7.2.5/sapi/fpm/fpm/fpm_children.c =================================================================== --- php-7.2.5.orig/sapi/fpm/fpm/fpm_children.c 2022-02-15 13:14:26.133605634 +0100 +++ php-7.2.5/sapi/fpm/fpm/fpm_children.c 2022-02-15 13:14:26.165605817 +0100 @@ -146,6 +146,7 @@ static struct fpm_child_s *fpm_child_fin static void fpm_child_init(struct fpm_worker_pool_s *wp) /* {{{ */ { fpm_globals.max_requests = wp->config->pm_max_requests; + fpm_globals.listening_socket = dup(wp->listening_socket); if (0 > fpm_stdio_init_child(wp) || 0 > fpm_log_init_child(wp) || Index: php-7.2.5/sapi/fpm/fpm/fpm_stdio.c =================================================================== --- php-7.2.5.orig/sapi/fpm/fpm/fpm_stdio.c 2018-04-24 17:10:05.000000000 +0200 +++ php-7.2.5/sapi/fpm/fpm/fpm_stdio.c 2022-02-15 13:14:26.165605817 +0100 @@ -103,12 +103,6 @@ int fpm_stdio_init_child(struct fpm_work fpm_globals.error_log_fd = -1; zlog_set_fd(-1); - if (wp->listening_socket != STDIN_FILENO) { - if (0 > dup2(wp->listening_socket, STDIN_FILENO)) { - zlog(ZLOG_SYSERROR, "failed to init child stdio: dup2()"); - return -1; - } - } return 0; } /* }}} */
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