<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext, branch php-7.4.12</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>Ignore memory leaks reported for some libc-client functions</title>
<updated>2020-10-13T11:09:29+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T15:28:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9c7b6073203ed3db749c26e88d4f0c2514a60101'/>
<id>9c7b6073203ed3db749c26e88d4f0c2514a60101</id>
<content type='text'>
At least on Windows, some static variables are lazily initialized
during `mail_open()` and `mail_lsub()`, which are reported as memory
leaks.  We suppress these false positives.

Closes GH-6326.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least on Windows, some static variables are lazily initialized
during `mail_open()` and `mail_lsub()`, which are reported as memory
leaks.  We suppress these false positives.

Closes GH-6326.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3' into PHP-7.4</title>
<updated>2020-10-12T21:17:57+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T21:17:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=12fc8f66e7756a46b816b71de83f856e7ba018ae'/>
<id>12fc8f66e7756a46b816b71de83f856e7ba018ae</id>
<content type='text'>
* PHP-7.3:
  Fix #80226: imap_sort() leaks sortpgm memory
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fix #80226: imap_sort() leaks sortpgm memory
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #80226: imap_sort() leaks sortpgm memory</title>
<updated>2020-10-12T21:16:31+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T16:06:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8488c34fc607353be97e0ebadca3fec9f6373b6d'/>
<id>8488c34fc607353be97e0ebadca3fec9f6373b6d</id>
<content type='text'>
We need to free what we have allocated.

Closes GH-6327.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to free what we have allocated.

Closes GH-6327.
</pre>
</div>
</content>
</entry>
<entry>
<title>intl: report more information about message pattern parse errors</title>
<updated>2020-10-12T14:42:41+00:00</updated>
<author>
<name>Philip Hofstetter</name>
<email>phofstetter@sensational.ch</email>
</author>
<published>2020-10-09T09:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=74cf2eb83fc664cbad2d619fd2662bee770d8f81'/>
<id>74cf2eb83fc664cbad2d619fd2662bee770d8f81</id>
<content type='text'>
The message patterns can be pretty complex, so reporting a generic
U_PARSE_ERROR without any additional information makes it needlessly
hard to fix erroneous patterns.

This commit makes use of the additional UParseError* parameter to
umsg_open to retrieve more details about the parse error to report that
to the user via intl_get_error_message()

Additional improve error reporting from the IntlMessage constructor.
Previously, all possible failures when calling IntlMessage::__construct()
would be masked away with a generic "Constructor failed" message.
This would include invalid patterns.

This commit makes sure that the underlying error that caused the
constructor failure is reported as part of the IntlException error
message.

Closes GH-6325.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The message patterns can be pretty complex, so reporting a generic
U_PARSE_ERROR without any additional information makes it needlessly
hard to fix erroneous patterns.

This commit makes use of the additional UParseError* parameter to
umsg_open to retrieve more details about the parse error to report that
to the user via intl_get_error_message()

Additional improve error reporting from the IntlMessage constructor.
Previously, all possible failures when calling IntlMessage::__construct()
would be masked away with a generic "Constructor failed" message.
This would include invalid patterns.

This commit makes sure that the underlying error that caused the
constructor failure is reported as part of the IntlException error
message.

Closes GH-6325.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3' into PHP-7.4</title>
<updated>2020-10-12T14:28:52+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T14:28:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=216d6a024aeee19a7bd532d0ddaad2a4aff7e097'/>
<id>216d6a024aeee19a7bd532d0ddaad2a4aff7e097</id>
<content type='text'>
* PHP-7.3:
  Fix #80216: imap_mail_compose() does not validate types/encodings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fix #80216: imap_mail_compose() does not validate types/encodings
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #80216: imap_mail_compose() does not validate types/encodings</title>
<updated>2020-10-12T14:27:49+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T12:04:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=73e43b6e19720112f0d10bd988d840e7537055a4'/>
<id>73e43b6e19720112f0d10bd988d840e7537055a4</id>
<content type='text'>
We need to check whether the given `type`s and `encoding`s are within
bounds to avoid segfaults and out-of-bound reads.

Closes GH-6323.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need to check whether the given `type`s and `encoding`s are within
bounds to avoid segfaults and out-of-bound reads.

Closes GH-6323.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3' into PHP-7.4</title>
<updated>2020-10-12T13:09:30+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T13:09:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=4a469c7e9895360a7c605fbb9ea4e062661b666f'/>
<id>4a469c7e9895360a7c605fbb9ea4e062661b666f</id>
<content type='text'>
* PHP-7.3:
  Fix #80223: imap_mail_compose() leaks envelope on malformed bodies
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fix #80223: imap_mail_compose() leaks envelope on malformed bodies
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #80223: imap_mail_compose() leaks envelope on malformed bodies</title>
<updated>2020-10-12T13:08:30+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T11:26:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=c1962e900a4ebe74a6e7578e3da75a0931687546'/>
<id>c1962e900a4ebe74a6e7578e3da75a0931687546</id>
<content type='text'>
We have to clean up even on failure.

Closes GH-6322.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We have to clean up even on failure.

Closes GH-6322.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'PHP-7.3' into PHP-7.4</title>
<updated>2020-10-12T11:32:40+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T11:32:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=acce991a37e3ab0f86c1aed3e2008d130d99c0d1'/>
<id>acce991a37e3ab0f86c1aed3e2008d130d99c0d1</id>
<content type='text'>
* PHP-7.3:
  Fix #80220: imap_mail_compose() may leak memory
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PHP-7.3:
  Fix #80220: imap_mail_compose() may leak memory
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #80220: imap_mail_compose() may leak memory</title>
<updated>2020-10-12T11:31:30+00:00</updated>
<author>
<name>Christoph M. Becker</name>
<email>cmbecker69@gmx.de</email>
</author>
<published>2020-10-12T08:36:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0d022ddf03c5fabaaa22e486d1e4a367ed9170a7'/>
<id>0d022ddf03c5fabaaa22e486d1e4a367ed9170a7</id>
<content type='text'>
Unless `topbod` is of `TYPEMULTIPART`, `mail_free_body()` does not free
the `nested.part`; while we could do this ourselves, instead we just
ignore additional bodies in this case, i.e. we don't attach them in the
first place.

Closes GH-6321.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unless `topbod` is of `TYPEMULTIPART`, `mail_free_body()` does not free
the `nested.part`; while we could do this ourselves, instead we just
ignore additional bodies in this case, i.e. we don't attach them in the
first place.

Closes GH-6321.
</pre>
</div>
</content>
</entry>
</feed>
