Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:php:php56
php5
php5-CVE-2015-9253.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File php5-CVE-2015-9253.patch of Package php5
Index: php-5.6.40/sapi/fpm/fpm/fpm_children.c =================================================================== --- php-5.6.40.orig/sapi/fpm/fpm/fpm_children.c +++ php-5.6.40/sapi/fpm/fpm/fpm_children.c @@ -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-5.6.40/sapi/fpm/fpm/fpm_stdio.c =================================================================== --- php-5.6.40.orig/sapi/fpm/fpm/fpm_stdio.c +++ php-5.6.40/sapi/fpm/fpm/fpm_stdio.c @@ -97,12 +97,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