<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/sqlite3, branch php-7.3.20</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>Enclose INI values containing {TMP} in quotes</title>
<updated>2020-03-09T21:49:08+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-03-09T16:58:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d5e206620b80b0f198f6dd1865a758edf7ea1494'/>
<id>d5e206620b80b0f198f6dd1865a758edf7ea1494</id>
<content type='text'>
At least on Windows, the temporary directory may contain tilde signs,
which would result in an INI parse error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least on Windows, the temporary directory may contain tilde signs,
which would result in an INI parse error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #79294: ::columnType() may fail after SQLite3Stmt::reset()</title>
<updated>2020-02-21T12:36:29+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-02-21T12:24:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f133f0024ec801dc9636ee5bf84a93de1300d4b2'/>
<id>f133f0024ec801dc9636ee5bf84a93de1300d4b2</id>
<content type='text'>
The fix for feature request #53466 did not properly handle resetting of
the corresponding statement; the problem with this is that the
statement does not know about its result sets.  But even if we could
fix this, the `complete` handling still appears to be brittle, since
the `sqlite3_column_type()`docs[1] state:

| If the SQL statement does not currently point to a valid row, or if
| the column index is out of range, the result is undefined.

Fortunately, we can use `sqlite3_data_count()` instead, since[2]:

| If prepared statement P does not have results ready to return (via
| calls to the sqlite3_column() family of interfaces) then
| sqlite3_data_count(P) returns 0.

Thus, we guard `SQLite3::columnType()` with `sqlite3_data_count()`, and
completely drop updating the `php_sqlite3_result_object.complete`
field, but keep it for ABI BC purposes.

[1] &lt;https://www.sqlite.org/c3ref/column_blob.html&gt;
[2] &lt;https://www.sqlite.org/c3ref/data_count.html&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The fix for feature request #53466 did not properly handle resetting of
the corresponding statement; the problem with this is that the
statement does not know about its result sets.  But even if we could
fix this, the `complete` handling still appears to be brittle, since
the `sqlite3_column_type()`docs[1] state:

| If the SQL statement does not currently point to a valid row, or if
| the column index is out of range, the result is undefined.

Fortunately, we can use `sqlite3_data_count()` instead, since[2]:

| If prepared statement P does not have results ready to return (via
| calls to the sqlite3_column() family of interfaces) then
| sqlite3_data_count(P) returns 0.

Thus, we guard `SQLite3::columnType()` with `sqlite3_data_count()`, and
completely drop updating the `php_sqlite3_result_object.complete`
field, but keep it for ABI BC purposes.

[1] &lt;https://www.sqlite.org/c3ref/column_blob.html&gt;
[2] &lt;https://www.sqlite.org/c3ref/data_count.html&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2019-07-09T08:04:41+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2019-07-09T08:04:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7404d756e99ebe31ddc685adf209a3eaf5081676'/>
<id>7404d756e99ebe31ddc685adf209a3eaf5081676</id>
<content type='text'>
* PHP-7.2:
  Upgrade to SQLite 3.28.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.2:
  Upgrade to SQLite 3.28.0
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.1' into PHP-7.2</title>
<updated>2019-07-09T08:02:47+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2019-07-09T08:01:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=40f7533cc17a77ae953eb195e19f1cbbe48112d1'/>
<id>40f7533cc17a77ae953eb195e19f1cbbe48112d1</id>
<content type='text'>
* PHP-7.1:
  Upgrade to SQLite 3.28.0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.1:
  Upgrade to SQLite 3.28.0
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade to SQLite 3.28.0</title>
<updated>2019-07-09T07:59:46+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2019-06-21T13:48:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e944ae6b2a0533cb6098af8c2beb8d0f2c84ec6d'/>
<id>e944ae6b2a0533cb6098af8c2beb8d0f2c84ec6d</id>
<content type='text'>
Over the years, multiple security vulnerabilities[1] have been found
and fixed in SQLite3, so it makes sense to update our bundled libsqlite
to the latest available version.

[1] &lt;https://www.cvedetails.com/vulnerability-list/vendor_id-9237/Sqlite.html&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Over the years, multiple security vulnerabilities[1] have been found
and fixed in SQLite3, so it makes sense to update our bundled libsqlite
to the latest available version.

[1] &lt;https://www.cvedetails.com/vulnerability-list/vendor_id-9237/Sqlite.html&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2019-05-28T04:36:05+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-05-28T04:36:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9d473f1eac86662c3ef14a824cb9aed03d53592f'/>
<id>9d473f1eac86662c3ef14a824cb9aed03d53592f</id>
<content type='text'>
* PHP-7.2:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.2:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.1' into PHP-7.2</title>
<updated>2019-05-28T04:36:00+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-05-28T04:36:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fbb6a27212641110dd688296de43cd2a0e08a1ba'/>
<id>fbb6a27212641110dd688296de43cd2a0e08a1ba</id>
<content type='text'>
* PHP-7.1:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.1:
  Fix bug #77967 - Bypassing open_basedir restrictions via file uris
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #77967 - Bypassing open_basedir restrictions via file uris</title>
<updated>2019-05-28T01:48:48+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-05-28T01:04:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c34895e837b50213c2bb201c612904342d2bd216'/>
<id>c34895e837b50213c2bb201c612904342d2bd216</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2019-05-21T07:03:01+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2019-05-21T07:03:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=11740abd6ba1ee47e7a2a149c0ddfe6b7c8145cc'/>
<id>11740abd6ba1ee47e7a2a149c0ddfe6b7c8145cc</id>
<content type='text'>
* PHP-7.2:
  use {TMP} placeholder in phpt tests
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.2:
  use {TMP} placeholder in phpt tests
</pre>
</div>
</content>
</entry>
<entry>
<title>use {TMP} placeholder in phpt tests</title>
<updated>2019-05-21T07:02:37+00:00</updated>
<author>
<name>Holly Li (WIPRO LIMITED)</name>
<email>v-huli4@microsoft.com</email>
</author>
<published>2019-05-21T05:53:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=202e6936d6fa319fdda16c5c61d70ce19c2ecef6'/>
<id>202e6936d6fa319fdda16c5c61d70ce19c2ecef6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
