<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/sapi/fpm, branch php-7.4.1</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fix bug #78916 (php-fpm 7.4.0 don't send mail via mail())</title>
<updated>2019-12-08T17:57:17+00:00</updated>
<author>
<name>Jakub Zelenka</name>
<email>bukka@php.net</email>
</author>
<published>2019-12-08T17:57:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ac042f839f4c4a2b8241fa69f8f3b01766814f1e'/>
<id>ac042f839f4c4a2b8241fa69f8f3b01766814f1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #78889 (php-fpm service fails to start)</title>
<updated>2019-12-01T17:13:20+00:00</updated>
<author>
<name>Jakub Zelenka</name>
<email>bukka@php.net</email>
</author>
<published>2019-12-01T17:13:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=67cd4271e922ee3082b416a7563598274d13a1e5'/>
<id>67cd4271e922ee3082b416a7563598274d13a1e5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not let PHP-FPM children miss SIGTERM, SIGQUIT</title>
<updated>2019-11-17T14:46:56+00:00</updated>
<author>
<name>Maksim Nikulin</name>
<email>mnikulin@plesk.com</email>
</author>
<published>2019-10-21T07:23:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e37bd5dcc2e8f269c6031d86429311c8cf243060'/>
<id>e37bd5dcc2e8f269c6031d86429311c8cf243060</id>
<content type='text'>
Postpone signal delivery while spawning children.
Prevent the following case:

- Reload (reexec) is in progress.
- New master is forking to start enough children for pools
  where `pm` is not `on-demand`.
- Another `SIGUSR2` is received by the master process.
- Master process switches to reloading state.
- Some child has not set its own signal handlers.
- `SIGQUIT` and `SIGTERM` sent by master process are caught
  by signal handler set by master process and so they are ignored.
- A child is running, it has no reason to finish

Before pull request #4465 this scenario could cause deadlock,
however with 0ed6c37140 reload finishes after `SIGKILL`.

Use sigprocmask() around fork() to avoid race of delivery signal to children
and setting of own signal handlers.

Fixes bug #76601
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Postpone signal delivery while spawning children.
Prevent the following case:

- Reload (reexec) is in progress.
- New master is forking to start enough children for pools
  where `pm` is not `on-demand`.
- Another `SIGUSR2` is received by the master process.
- Master process switches to reloading state.
- Some child has not set its own signal handlers.
- `SIGQUIT` and `SIGTERM` sent by master process are caught
  by signal handler set by master process and so they are ignored.
- A child is running, it has no reason to finish

Before pull request #4465 this scenario could cause deadlock,
however with 0ed6c37140 reload finishes after `SIGKILL`.

Use sigprocmask() around fork() to avoid race of delivery signal to children
and setting of own signal handlers.

Fixes bug #76601
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3' into PHP-7.4</title>
<updated>2019-10-21T20:17:27+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-10-21T20:17:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=59953efc095883cce10fc8410cd186d3df827bbc'/>
<id>59953efc095883cce10fc8410cd186d3df827bbc</id>
<content type='text'>
* PHP-7.3:
  Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
  bump versions after release
  set versions for release
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
  bump versions after release
  set versions for release
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2019-10-21T20:17:19+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-10-21T20:17:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=57b4dcbe77ac0d031333e6fca0a6b74766b7f375'/>
<id>57b4dcbe77ac0d031333e6fca0a6b74766b7f375</id>
<content type='text'>
* PHP-7.2:
  Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
  bump versions after release
  set versions for release
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.2:
  Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
  bump versions after release
  set versions for release
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.1' into PHP-7.2</title>
<updated>2019-10-21T20:17:09+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-10-21T20:17:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=4b5cdda0c793ef4f225a82d448183044441ca2b5'/>
<id>4b5cdda0c793ef4f225a82d448183044441ca2b5</id>
<content type='text'>
* PHP-7.1:
  Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
  bump versions after release
  set versions for release
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.1:
  Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)
  bump versions after release
  set versions for release
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #78599 (env_path_info underflow can lead to RCE) (CVE-2019-11043)</title>
<updated>2019-10-21T05:50:04+00:00</updated>
<author>
<name>Jakub Zelenka</name>
<email>bukka@php.net</email>
</author>
<published>2019-10-12T14:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ab061f95ca966731b1c84cf5b7b20155c0a1c06a'/>
<id>ab061f95ca966731b1c84cf5b7b20155c0a1c06a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip fpm bug #74083 test on Windows</title>
<updated>2019-10-20T15:08:55+00:00</updated>
<author>
<name>Maksim Nikulin</name>
<email>mnikulin@plesk.com</email>
</author>
<published>2019-07-25T06:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d537ae73e0b20b8844ed5326b32e9fec435b5ded'/>
<id>d537ae73e0b20b8844ed5326b32e9fec435b5ded</id>
<content type='text'>
Have not expected side effects of `include`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Have not expected side effects of `include`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add (slow) test for fpm concurrent reloads #74083</title>
<updated>2019-10-20T15:08:55+00:00</updated>
<author>
<name>Maksim Nikulin</name>
<email>mnikulin@plesk.com</email>
</author>
<published>2019-07-25T04:41:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2f9f40915606f34b177b722d50a7ed4ce43adfc7'/>
<id>2f9f40915606f34b177b722d50a7ed4ce43adfc7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Block signals during fpm master initialization</title>
<updated>2019-10-20T15:08:55+00:00</updated>
<author>
<name>Maksim Nikulin</name>
<email>mnikulin@plesk.com</email>
</author>
<published>2019-07-24T09:50:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ae5154c6c6af7ba7c592f8af006b7cadd0d66d6e'/>
<id>ae5154c6c6af7ba7c592f8af006b7cadd0d66d6e</id>
<content type='text'>
Fix PHP-FPM failure in the case of concurrent reload attempts.

Postpone signal delivery to the fpm master process till proper signal
handlers are set. Prevent the following case:

- Running master process receives `SIGUSR2` and performs `execvp()`.
- Another `SIGUSR2` is arrived before signal handlers are set.
- Master process dies.
- Requests to the HTTP server handled by PHP-fpm can not be served
  any more.

Block some signals using `sigprocmask()` before `execvp()` and early
in the `main()` function. Unblock signals as soon as proper
handlers are set.

Fixes bug #74083
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix PHP-FPM failure in the case of concurrent reload attempts.

Postpone signal delivery to the fpm master process till proper signal
handlers are set. Prevent the following case:

- Running master process receives `SIGUSR2` and performs `execvp()`.
- Another `SIGUSR2` is arrived before signal handlers are set.
- Master process dies.
- Requests to the HTTP server handled by PHP-fpm can not be served
  any more.

Block some signals using `sigprocmask()` before `execvp()` and early
in the `main()` function. Unblock signals as soon as proper
handlers are set.

Fixes bug #74083
</pre>
</div>
</content>
</entry>
</feed>
