<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/xml/tests, branch php-7.2.2</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>Deprecate each()</title>
<updated>2017-02-03T20:02:52+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikita.ppv@gmail.com</email>
</author>
<published>2017-02-02T22:07:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=06a034016280435feb80eea4d674ca5688ab4c06'/>
<id>06a034016280435feb80eea4d674ca5688ab4c06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>news entry for #1787</title>
<updated>2016-11-13T05:37:49+00:00</updated>
<author>
<name>Joe Watkins</name>
<email>krakjoe@php.net</email>
</author>
<published>2016-11-13T05:37:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f77be645bccd73ace0ea3a0870b907523746181c'/>
<id>f77be645bccd73ace0ea3a0870b907523746181c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>phpt file to bug #73135</title>
<updated>2016-11-12T17:43:16+00:00</updated>
<author>
<name>Edgar R. Sandi</name>
<email>edgar.r.sandi@gmail.com</email>
</author>
<published>2016-10-16T03:06:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1631c61feb088f4ea31dbec42896624a50c578f6'/>
<id>1631c61feb088f4ea31dbec42896624a50c578f6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Move utf8_encode and utf8_decode to ext/standard</title>
<updated>2016-10-17T14:39:02+00:00</updated>
<author>
<name>Andrea Faulds</name>
<email>ajf@ajf.me</email>
</author>
<published>2016-10-13T22:33:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1a512eed449128334edf0329b72e53c5caaaa95b'/>
<id>1a512eed449128334edf0329b72e53c5caaaa95b</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-08-20T10:46:08+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2016-08-20T10:46:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=39172d44d8cdb9caf76ae851e3bb8f21091564ea'/>
<id>39172d44d8cdb9caf76ae851e3bb8f21091564ea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements to fix #72714, suggested by nikic</title>
<updated>2016-08-20T10:44:20+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2016-08-20T10:42:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=52793c14d951b12f0eca806bb55a97011a322243'/>
<id>52793c14d951b12f0eca806bb55a97011a322243</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-08-20T00:14:49+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2016-08-20T00:07:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=db1ef5cb00e6bcdd166179fe1293eb628054107b'/>
<id>db1ef5cb00e6bcdd166179fe1293eb628054107b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #72714: _xml_startElementHandler() segmentation fault</title>
<updated>2016-08-19T23:58:08+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2016-08-16T18:36:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9164dc11e2323b8b80c389bb13d70789799b44fc'/>
<id>9164dc11e2323b8b80c389bb13d70789799b44fc</id>
<content type='text'>
The issue is caused by an integer overflow when the `long` passed as
XML_OPTION_SKIP_TAGSTART is assigned to `xml_parser::toffset` which is
declared as `int`. We can simply work around this issue, by clipping
resulting negative values to 0 (and raising a notice in this case), because
the reasonable range for this value is certainly catered to by positive
`int`s.

However, there still remains the issue that `xml_parser::toffset` is later
added to `char *`s, which can cause OOB reads, so we make sure that the
upper bound never exceeds the strlen(). We eschew optimizing `SKIP_TAGSTART`
wrt. to the potentially duplicate strlen() call, because that code path is
unexpected anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The issue is caused by an integer overflow when the `long` passed as
XML_OPTION_SKIP_TAGSTART is assigned to `xml_parser::toffset` which is
declared as `int`. We can simply work around this issue, by clipping
resulting negative values to 0 (and raising a notice in this case), because
the reasonable range for this value is certainly catered to by positive
`int`s.

However, there still remains the issue that `xml_parser::toffset` is later
added to `char *`s, which can cause OOB reads, so we make sure that the
upper bound never exceeds the strlen(). We eschew optimizing `SKIP_TAGSTART`
wrt. to the potentially duplicate strlen() call, because that code path is
unexpected anyway.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-5.6' into PHP-7.0</title>
<updated>2016-08-16T23:22:11+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2016-08-16T23:14:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=6202b47e63dabe1434722c275925c23029deac8d'/>
<id>6202b47e63dabe1434722c275925c23029deac8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>#72085: SEGV on unknown address zif_xml_parse</title>
<updated>2016-08-16T22:42:45+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2016-08-16T22:41:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1bb92d52121cf2635df163911216bf2958db4d34'/>
<id>1bb92d52121cf2635df163911216bf2958db4d34</id>
<content type='text'>
We better make sure that the ZVALs we're accessing as arrays are indeed
arrays.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We better make sure that the ZVALs we're accessing as arrays are indeed
arrays.
</pre>
</div>
</content>
</entry>
</feed>
