<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/xmlwriter/php_xmlwriter.c, 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>Fix #79191: Error in SoapClient ctor disables DOMDocument::save()</title>
<updated>2020-02-03T22:31:46+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-02-03T22:10:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fe1bfb78d65d28dd151da417477a0cee51de8afb'/>
<id>fe1bfb78d65d28dd151da417477a0cee51de8afb</id>
<content type='text'>
The culprit is the too restrictive fix for bug #71536, which prevents
`php_libxml_streams_IO_write()` from properly executing when unclean
shutdown is flagged.  A *more* suitable solution is to move the
`xmlwriter_free_resource_ptr()` call from the `free_obj` handler to an
added `dtor_obj` handler, to avoid to write to a closed stream in case
of late object freeing.  This makes the `EG(active)` guard superfluous.

We also fix bug79029.phpt which has to use different variables for the
three parts to actually check the original shutdown issue.

Thanks to bwoebi and daverandom for helping to investigate this issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The culprit is the too restrictive fix for bug #71536, which prevents
`php_libxml_streams_IO_write()` from properly executing when unclean
shutdown is flagged.  A *more* suitable solution is to move the
`xmlwriter_free_resource_ptr()` call from the `free_obj` handler to an
added `dtor_obj` handler, to avoid to write to a closed stream in case
of late object freeing.  This makes the `EG(active)` guard superfluous.

We also fix bug79029.phpt which has to use different variables for the
three parts to actually check the original shutdown issue.

Thanks to bwoebi and daverandom for helping to investigate this issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #79029 (Use After Free's in XMLReader / XMLWriter).</title>
<updated>2019-12-25T11:33:30+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@gmail.com</email>
</author>
<published>2019-12-25T11:05:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=27bb3289aceb5225e4dd39f082a48823756a8190'/>
<id>27bb3289aceb5225e4dd39f082a48823756a8190</id>
<content type='text'>
We backport the fix PHP 7.3, since this branch is affected as well.

(cherry picked from commit b5e004379647bd1ebb75eb2eac8826fb6abdd3d8)
(cherry picked from commit e36daa6927c05d2e687bb77495ef206cde118b33)
(cherry picked from commit 2704ee6844c03348de9d15e74646d09007ef0f7c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We backport the fix PHP 7.3, since this branch is affected as well.

(cherry picked from commit b5e004379647bd1ebb75eb2eac8826fb6abdd3d8)
(cherry picked from commit e36daa6927c05d2e687bb77495ef206cde118b33)
(cherry picked from commit 2704ee6844c03348de9d15e74646d09007ef0f7c)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused Git attributes ident</title>
<updated>2018-07-24T22:53:25+00:00</updated>
<author>
<name>Peter Kokot</name>
<email>peterkokot@gmail.com</email>
</author>
<published>2018-07-03T00:52:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8d3f8ca12a0b00f2a74a27424790222536235502'/>
<id>8d3f8ca12a0b00f2a74a27424790222536235502</id>
<content type='text'>
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
</pre>
</div>
</content>
</entry>
<entry>
<title>Export standard object handlers, to avoid indirect access</title>
<updated>2018-05-31T08:57:22+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2018-05-31T08:57:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f2b4ec4bdc595773fb49b7d6ae8942c61f436288'/>
<id>f2b4ec4bdc595773fb49b7d6ae8942c61f436288</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>year++</title>
<updated>2018-01-02T04:57:58+00:00</updated>
<author>
<name>Xinchen Hui</name>
<email>laruence@gmail.com</email>
</author>
<published>2018-01-02T04:57:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=a6519d051463f211fc1a23661e5dc4814bfbcf83'/>
<id>a6519d051463f211fc1a23661e5dc4814bfbcf83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add zend_object_alloc() API</title>
<updated>2017-11-25T16:12:37+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2017-11-25T15:07:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b72b1a4e4d4a94a16b953bf8d826885efb56eeca'/>
<id>b72b1a4e4d4a94a16b953bf8d826885efb56eeca</id>
<content type='text'>
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.

Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using ecalloc() to create objects is expensive, because the
dynamic-size memset() is unreasonably slow. Make sure we only
zero the main object structure with known size, as the properties
are intialized separately anyway.

Technically we do not need to zero the embedded zend_object
structure either, but as long as the memset argument is constant,
a couple more bytes don't really matter.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright headers to 2017</title>
<updated>2017-01-02T15:30:12+00:00</updated>
<author>
<name>Sammy Kaye Powers</name>
<email>sammyk@sammykmedia.com</email>
</author>
<published>2017-01-02T15:30:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9e29f841ce3711488781be958ffdfc42d738de4a'/>
<id>9e29f841ce3711488781be958ffdfc42d738de4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed compilation warnings</title>
<updated>2016-06-21T21:40:50+00:00</updated>
<author>
<name>Dmitry Stogov</name>
<email>dmitry@zend.com</email>
</author>
<published>2016-06-21T21:40:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=323b2733f6b42d00dd86e77ac524d64f6ddc4e22'/>
<id>323b2733f6b42d00dd86e77ac524d64f6ddc4e22</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-5.6' into PHP-7.0</title>
<updated>2016-01-01T17:48:25+00:00</updated>
<author>
<name>Lior Kaplan</name>
<email>kaplanlior@gmail.com</email>
</author>
<published>2016-01-01T17:47:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ed35de784f4ea53927e906ba4af335778de4d16a'/>
<id>ed35de784f4ea53927e906ba4af335778de4d16a</id>
<content type='text'>
* PHP-5.6:
  Happy new year (Update copyright to 2016)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-5.6:
  Happy new year (Update copyright to 2016)
</pre>
</div>
</content>
</entry>
<entry>
<title>Happy new year (Update copyright to 2016)</title>
<updated>2016-01-01T17:21:47+00:00</updated>
<author>
<name>Lior Kaplan</name>
<email>kaplanlior@gmail.com</email>
</author>
<published>2016-01-01T17:19:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=49493a2dcfb2cd1758b69b13d9006ead3be0e066'/>
<id>49493a2dcfb2cd1758b69b13d9006ead3be0e066</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
