<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/spl/spl_array.c, branch php-7.0.8</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 #71334</title>
<updated>2016-03-30T20:49:27+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-01-12T15:31:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b1e854f7762b2e0648ddc240835cb446ee4d20a7'/>
<id>b1e854f7762b2e0648ddc240835cb446ee4d20a7</id>
<content type='text'>
Always duplicate the array before doing a sort with user-defined
comparison function, to avoid access to the intermediate
inconsistent state.

I've also dropped the "array modification" warning, as protection
against modifications is no longer relevant if we're always working
on a copy anyway.

This also required some changes to how SplArray forwards calls to
sorting functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Always duplicate the array before doing a sort with user-defined
comparison function, to avoid access to the intermediate
inconsistent state.

I've also dropped the "array modification" warning, as protection
against modifications is no longer relevant if we're always working
on a copy anyway.

This also required some changes to how SplArray forwards calls to
sorting functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #62059</title>
<updated>2016-03-20T17:17:44+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-03-20T17:17:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f3309173f916e3c5cf37910975f04310706336b5'/>
<id>f3309173f916e3c5cf37910975f04310706336b5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix construction of AO with overloaded object error</title>
<updated>2016-02-24T21:34:50+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-24T21:31:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fd561505f4142730684eacaba6f0ac5f293a8f0e'/>
<id>fd561505f4142730684eacaba6f0ac5f293a8f0e</id>
<content type='text'>
a) Fix uses of zend_string in error message
b) Don't assign the overloaded object as the backing storage, that
   sort of defeats the point. Instead leave the previous value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
a) Fix uses of zend_string in error message
b) Don't assign the overloaded object as the backing storage, that
   sort of defeats the point. Instead leave the previous value.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix AO object properties separation</title>
<updated>2016-02-24T21:34:50+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-24T18:08:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0aa716381643c2746ddef019681e762d4e3f4233'/>
<id>0aa716381643c2746ddef019681e762d4e3f4233</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Forbid exchangeArray() during sorting</title>
<updated>2016-02-24T21:34:50+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-24T17:27:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=079f2f7eb31659569cd2663e2c5b4c9f9eaa32d7'/>
<id>079f2f7eb31659569cd2663e2c5b4c9f9eaa32d7</id>
<content type='text'>
Previously this would leak.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously this would leak.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix leak on assignment to illegal AO offset</title>
<updated>2016-02-24T16:39:16+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-24T16:39:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=eb885e9d6ebc6670d1ccc6d5c0fa26e411ffb0fb'/>
<id>eb885e9d6ebc6670d1ccc6d5c0fa26e411ffb0fb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't use ht applyCount for AO sorting protection</title>
<updated>2016-02-24T16:18:07+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-24T16:18:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ea02f5765608c13cb92b5b7879878b981c99b33e'/>
<id>ea02f5765608c13cb92b5b7879878b981c99b33e</id>
<content type='text'>
Instead use the AOs own applyCount that just got freed up. Using the
apply count of the HashTable has various side effects, e.g. preventing
the ArrayObject from being dumped.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead use the AOs own applyCount that just got freed up. Using the
apply count of the HashTable has various side effects, e.g. preventing
the ArrayObject from being dumped.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove recursion checks from AO get_properties</title>
<updated>2016-02-24T16:10:28+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-24T16:10:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=38db6ff306bd6fca4ed37823ea8abfeef3b9796c'/>
<id>38db6ff306bd6fca4ed37823ea8abfeef3b9796c</id>
<content type='text'>
These are pointless, there is no recursion (of that kind) happening
there.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are pointless, there is no recursion (of that kind) happening
there.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove check_std_props arg from get_hash_table</title>
<updated>2016-02-22T12:09:54+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-22T12:09:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=78b29310bc594502b117ccd96a5ffcc03e0b7b89'/>
<id>78b29310bc594502b117ccd96a5ffcc03e0b7b89</id>
<content type='text'>
get_properties() is the only place using it, so handle it only
there.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
get_properties() is the only place using it, so handle it only
there.
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't recurse into USE_OTHER checking STD_PROP_LIST</title>
<updated>2016-02-22T12:04:19+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2016-02-22T12:04:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=3f5c80e8c27b3d74f60ef7ce1a6933c7752ef8e4'/>
<id>3f5c80e8c27b3d74f60ef7ce1a6933c7752ef8e4</id>
<content type='text'>
If STD_PROP_LIST is explicitly disabled in the constructor, it
should really be disabled.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If STD_PROP_LIST is explicitly disabled in the constructor, it
should really be disabled.
</pre>
</div>
</content>
</entry>
</feed>
