<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/spl, 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>Fixed bug #79710</title>
<updated>2020-06-19T08:46:26+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-06-19T08:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=32f377b0b94482a5b126408942646b9bd101c042'/>
<id>32f377b0b94482a5b126408942646b9bd101c042</id>
<content type='text'>
Make sure we don't use zresource after the stream has been destroyed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure we don't use zresource after the stream has been destroyed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #79393: Null coalescing operator failing with SplFixedArray</title>
<updated>2020-03-23T12:29:25+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-03-18T16:39:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=47c745555c9000706cd4de7fffc6e1c2f18d5521'/>
<id>47c745555c9000706cd4de7fffc6e1c2f18d5521</id>
<content type='text'>
We favor the KISS principle over optimization[1] – SPL is already
special enough.

[1] &lt;https://github.com/php/php-src/pull/2489/commits/352f3d4476a79bb86136b431719df7394e5a8d4e#r112498098&gt;ff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We favor the KISS principle over optimization[1] – SPL is already
special enough.

[1] &lt;https://github.com/php/php-src/pull/2489/commits/352f3d4476a79bb86136b431719df7394e5a8d4e#r112498098&gt;ff
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip test on Windows if privileges are insufficient</title>
<updated>2020-03-06T15:38:49+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-03-06T15:38:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=dc4f42508dc109d6e8d86ab279b8438bb341f112'/>
<id>dc4f42508dc109d6e8d86ab279b8438bb341f112</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #75673: SplStack::unserialize() behavior</title>
<updated>2020-03-06T08:09:49+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-03-05T13:57:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b84277297ae18f11055a5731a881a347df8d76b9'/>
<id>b84277297ae18f11055a5731a881a347df8d76b9</id>
<content type='text'>
Even though `SplStack::unserialize()` is not supposed to be called on
an already constructed instance, it is probably better if the method
clears the stack before actually unserializing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even though `SplStack::unserialize()` is not supposed to be called on
an already constructed instance, it is probably better if the method
clears the stack before actually unserializing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #79151</title>
<updated>2020-01-23T13:20:26+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2020-01-23T13:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=db9776c53c50d923a26657fa150dfb2a482a6507'/>
<id>db9776c53c50d923a26657fa150dfb2a482a6507</id>
<content type='text'>
Make sure we also NULL out next/prev of the removed element on
pop/shift. This only matter is that element is still being referenced
by an iterator.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sure we also NULL out next/prev of the removed element on
pop/shift. This only matter is that element is still being referenced
by an iterator.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2019-12-16T08:38:54+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-12-16T08:38:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a65b8abf2c9702503591d894ddac0b2f046950b6'/>
<id>a65b8abf2c9702503591d894ddac0b2f046950b6</id>
<content type='text'>
* PHP-7.2:
  Fixed bug #78910
  Fix #78878: Buffer underflow in bc_shift_addsub
  Fix test
  Fix #78862: link() silently truncates after a null byte on Windows
  Fix #78863: DirectoryIterator class silently truncates after a null byte
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.2:
  Fixed bug #78910
  Fix #78878: Buffer underflow in bc_shift_addsub
  Fix test
  Fix #78862: link() silently truncates after a null byte on Windows
  Fix #78863: DirectoryIterator class silently truncates after a null byte
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test</title>
<updated>2019-12-16T08:03:18+00:00</updated>
<author>
<name>Stanislav Malyshev</name>
<email>stas@php.net</email>
</author>
<published>2019-11-30T23:37:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b771a18133bdfd95ce36932e5b83a724f17a1427'/>
<id>b771a18133bdfd95ce36932e5b83a724f17a1427</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #78863: DirectoryIterator class silently truncates after a null byte</title>
<updated>2019-12-16T08:02:57+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2019-11-25T15:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a5a15965da23c8e97657278fc8dfbf1dfb20c016'/>
<id>a5a15965da23c8e97657278fc8dfbf1dfb20c016</id>
<content type='text'>
Since the constructor of DirectoryIterator and friends is supposed to
accepts paths (i.e. strings without NUL bytes), we must not accept
arbitrary strings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the constructor of DirectoryIterator and friends is supposed to
accepts paths (i.e. strings without NUL bytes), we must not accept
arbitrary strings.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.2' into PHP-7.3</title>
<updated>2019-09-23T11:18:39+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-09-23T11:18:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f53af9ac2396f82fb9f69e668fbab7085de2f5b8'/>
<id>f53af9ac2396f82fb9f69e668fbab7085de2f5b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix signed integer overflow in SplObjectStorage unserialization</title>
<updated>2019-09-23T11:18:27+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2019-09-23T11:16:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8509970e6a392de42b81882d7c81fa96a3c972e1'/>
<id>8509970e6a392de42b81882d7c81fa96a3c972e1</id>
<content type='text'>
If count is ZEND_LONG_MIN the count-- loop underflows. This is
ultimately harmless, but results in a ubsan warning.

Fix this by adding a sanity check that the count isn't negative,
because that doesn't make sense...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If count is ZEND_LONG_MIN the count-- loop underflows. This is
ultimately harmless, but results in a ubsan warning.

Fix this by adding a sanity check that the count isn't negative,
because that doesn't make sense...
</pre>
</div>
</content>
</entry>
</feed>
