<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git, branch php-7.4.16RC1</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/'/>
<entry>
<title>Update versions for PHP 7.4.16RC1</title>
<updated>2021-02-16T11:23:23+00:00</updated>
<author>
<name>Derick Rethans</name>
<email>github@derickrethans.nl</email>
</author>
<published>2021-02-16T11:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=00e722980adcea88bf52d05acb7c3041ecdb9807'/>
<id>00e722980adcea88bf52d05acb7c3041ecdb9807</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update NEWS for PHP 7.4.16RC1</title>
<updated>2021-02-16T11:23:23+00:00</updated>
<author>
<name>Derick Rethans</name>
<email>github@derickrethans.nl</email>
</author>
<published>2021-02-16T11:23:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=46625358d40c1865f34e0e549e1f5b7e6767dd77'/>
<id>46625358d40c1865f34e0e549e1f5b7e6767dd77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress OpenSSL error on missing optional config</title>
<updated>2021-02-16T09:11:00+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-15T14:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=75667427549b5154ab8c6f0aba21063d7882ad54'/>
<id>75667427549b5154ab8c6f0aba21063d7882ad54</id>
<content type='text'>
openssl_pkey_new() fetches various options from the config file --
most of these are optional, and not specifying them is not an error
condition from the perspective of the user. Unfortunately, the
CONF_get_string() API pushes an error when accessing a key that
doesn't exist (_CONF_get_string does not, but that is presumably a
private API). This commit adds a helper php_openssl_conf_get_string()
that automatically clears the error in this case. I've found that
OpenSSL occasionally does the same thing internally:
https://github.com/openssl/openssl/blob/22040fb790c854cefb04bed98ed38ea6357daf83/apps/req.c#L515-L517

Closes GH-6699.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
openssl_pkey_new() fetches various options from the config file --
most of these are optional, and not specifying them is not an error
condition from the perspective of the user. Unfortunately, the
CONF_get_string() API pushes an error when accessing a key that
doesn't exist (_CONF_get_string does not, but that is presumably a
private API). This commit adds a helper php_openssl_conf_get_string()
that automatically clears the error in this case. I've found that
OpenSSL occasionally does the same thing internally:
https://github.com/openssl/openssl/blob/22040fb790c854cefb04bed98ed38ea6357daf83/apps/req.c#L515-L517

Closes GH-6699.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #80747</title>
<updated>2021-02-15T14:34:01+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-15T14:33:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=64b10854643531bcf62a884aaea0bafc57e4f914'/>
<id>64b10854643531bcf62a884aaea0bafc57e4f914</id>
<content type='text'>
If RSA key generation fails, actually report that failure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If RSA key generation fails, actually report that failure.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix symtable cache being used while cleaning symtable</title>
<updated>2021-02-15T13:58:38+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-15T13:52:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=7b7d99839c2e2886ecf159952552c9964bd80481'/>
<id>7b7d99839c2e2886ecf159952552c9964bd80481</id>
<content type='text'>
We need to first clean the symtable and then check whether a cache
slot is available for it. Otherwise, it may happen that a destructor
runs while cleaning the table and uses up all the remaining slots
in the cache.

This is particularly insidious because once we overflow the cache,
the first pointer we modify is symtable_cache_ptr, making it hard
to understand what happened after the fact.

Fixes oss-fuzz #30815.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to first clean the symtable and then check whether a cache
slot is available for it. Otherwise, it may happen that a destructor
runs while cleaning the table and uses up all the remaining slots
in the cache.

This is particularly insidious because once we overflow the cache,
the first pointer we modify is symtable_cache_ptr, making it hard
to understand what happened after the fact.

Fixes oss-fuzz #30815.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #78680: mysqlnd pam plugin missing terminating null</title>
<updated>2021-02-15T10:32:07+00:00</updated>
<author>
<name>Daniel Black</name>
<email>daniel@mariadb.org</email>
</author>
<published>2021-02-05T05:54:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=3646604203d80bc0f6a124aa2ac5c448229327ea'/>
<id>3646604203d80bc0f6a124aa2ac5c448229327ea</id>
<content type='text'>
The PAM service requires the terminating null to be part
of the communication.

Tested with MariaDB-10.4(pam) and Percona Server 5.7.32(auth_pam_compat).

Also changed MySQL Enterprise test to the server side plugin, authentication_pam
as opposed to the client plugin mysql_clear_password.

Add additional check for pamtest user and pam service file as
all are required for the test.

More importantly, test result should actually succeed.

Thanks Geoff Montee for bug report.

Closes GH-78680.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The PAM service requires the terminating null to be part
of the communication.

Tested with MariaDB-10.4(pam) and Percona Server 5.7.32(auth_pam_compat).

Also changed MySQL Enterprise test to the server side plugin, authentication_pam
as opposed to the client plugin mysql_clear_password.

Add additional check for pamtest user and pam service file as
all are required for the test.

More importantly, test result should actually succeed.

Thanks Geoff Montee for bug report.

Closes GH-78680.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leak when breaking out of FilesystemIterator</title>
<updated>2021-02-15T09:37:59+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-15T09:36:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=44a80b64b918ff64a4e5bbcef43f00dfe0fcde27'/>
<id>44a80b64b918ff64a4e5bbcef43f00dfe0fcde27</id>
<content type='text'>
We need to always destroy current, not just when iter.data is not
set.

Take this opportunity to clean up the iterator destructor code a
bit, to remove redundant checks and incorrect comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to always destroy current, not just when iter.data is not
set.

Take this opportunity to clean up the iterator destructor code a
bit, to remove redundant checks and incorrect comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #80719</title>
<updated>2021-02-11T15:12:06+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2021-02-11T15:12:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=c34c5234678a5898c1796983e9ca8faa293f3fe3'/>
<id>c34c5234678a5898c1796983e9ca8faa293f3fe3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid C4090 level 1 warning</title>
<updated>2021-02-08T22:11:37+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2021-02-08T22:11:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=4f508003a949fa7d046c06ab8c84d67961a08c20'/>
<id>4f508003a949fa7d046c06ab8c84d67961a08c20</id>
<content type='text'>
This breaks the build for PHP 8 by default.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This breaks the build for PHP 8 by default.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix locale dependent parsing of PostgreSQL version number</title>
<updated>2021-02-08T17:57:08+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2021-02-05T11:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/php-git.git/commit/?id=03713ace23e7c8fa6b7d31684de8740a77e42895'/>
<id>03713ace23e7c8fa6b7d31684de8740a77e42895</id>
<content type='text'>
Version numbers are not supposed to be localized, so we must not apply
locale dependent parsing with `atof()`.

Using `php_version_compare()` might even be better.

Closes GH-6668.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Version numbers are not supposed to be localized, so we must not apply
locale dependent parsing with `atof()`.

Using `php_version_compare()` might even be better.

Closes GH-6668.
</pre>
</div>
</content>
</entry>
</feed>
