<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext, branch php-5.3.15</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>Revert change 3f3ad30c50: There shouldn't be new features in 5.3, especially</title>
<updated>2012-07-04T22:55:47+00:00</updated>
<author>
<name>johannes</name>
<email>johannes@php.net</email>
</author>
<published>2012-07-04T22:55:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=bcc87ba68ede7b90cd544ec0911bdbe5d844aa2a'/>
<id>bcc87ba68ede7b90cd544ec0911bdbe5d844aa2a</id>
<content type='text'>
not if they aren't in 5.4, too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
not if they aren't in 5.4, too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert JSON changes to PHP 5.3</title>
<updated>2012-07-01T14:28:57+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2012-07-01T14:28:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=250393f92523fffe643df06a1de2101fd50a327e'/>
<id>250393f92523fffe643df06a1de2101fd50a327e</id>
<content type='text'>
This reverts the following commits:

974324676b2436f159f42d9241c569f813471684
4662151ea7d7b6920d115cf2a2d6e9d4232727a3
84fe2cc890e49f40bac7c3ba74b3cfc6dc4cef2f

This does not revert the JSON changes released in PHP 5.3.14.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts the following commits:

974324676b2436f159f42d9241c569f813471684
4662151ea7d7b6920d115cf2a2d6e9d4232727a3
84fe2cc890e49f40bac7c3ba74b3cfc6dc4cef2f

This does not revert the JSON changes released in PHP 5.3.14.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix Bug #62273 	Segmentation Fault in Mysqli/Mysqlnd</title>
<updated>2012-06-29T11:42:36+00:00</updated>
<author>
<name>andrey</name>
<email>andrey@php.net</email>
</author>
<published>2012-06-29T11:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8fe87e7feaab2c031998d553585ba8cabf077499'/>
<id>8fe87e7feaab2c031998d553585ba8cabf077499</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.3' of ssh://git.php.net/php-src into PHP-5.3</title>
<updated>2012-06-29T11:40:41+00:00</updated>
<author>
<name>andrey</name>
<email>andrey@php.net</email>
</author>
<published>2012-06-29T11:40:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1ac611f24f03728e4d9cd717e83331e2e17184d2'/>
<id>1ac611f24f03728e4d9cd717e83331e2e17184d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some lengths in crypt()</title>
<updated>2012-06-29T11:11:43+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2012-06-29T10:47:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e6cf7d774519300c08399cae5bfba90e33749727'/>
<id>e6cf7d774519300c08399cae5bfba90e33749727</id>
<content type='text'>
Use salt_len_in instead of strlen(salt) or PHP_MAX_SALT_LEN, otherwise too
much memory will be allocated.

sha512 has a 86 character checksum, not 43. That probably was a copy&amp;paste
from the sha256 code which indeed has 43.

The allocation also was using sizeof(char *), thus allocating 4 or 8 times
as much memory as necessary. The sizeof(char *) was removed in the 5.4
branch in b7a92c9 but forgotten on 5.3.

The memset 0 call was using PHP_MAX_SALT_LEN which can be smaller than the
output buffer and thus not zeroing out everything. Use the size of the
output buffer (needed) instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use salt_len_in instead of strlen(salt) or PHP_MAX_SALT_LEN, otherwise too
much memory will be allocated.

sha512 has a 86 character checksum, not 43. That probably was a copy&amp;paste
from the sha256 code which indeed has 43.

The allocation also was using sizeof(char *), thus allocating 4 or 8 times
as much memory as necessary. The sizeof(char *) was removed in the 5.4
branch in b7a92c9 but forgotten on 5.3.

The memset 0 call was using PHP_MAX_SALT_LEN which can be smaller than the
output buffer and thus not zeroing out everything. Use the size of the
output buffer (needed) instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>new charsets</title>
<updated>2012-06-29T09:42:54+00:00</updated>
<author>
<name>andrey</name>
<email>andrey@php.net</email>
</author>
<published>2012-06-29T09:42:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=f826ea093f8317dda2e5476db128dc5ad3eba442'/>
<id>f826ea093f8317dda2e5476db128dc5ad3eba442</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed Salt)</title>
<updated>2012-06-29T00:00:03+00:00</updated>
<author>
<name>Anthony Ferrara</name>
<email>ircmaxell@ircmaxell.com</email>
</author>
<published>2012-06-29T00:00:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=7e8276ca68fc622124d51d18e4f7b5cde3536de4'/>
<id>7e8276ca68fc622124d51d18e4f7b5cde3536de4</id>
<content type='text'>
Fixed a memory allocation bug in crypt() SHA256/512 that can
cause segmentation faults when passed in salts with a null byte
early.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixed a memory allocation bug in crypt() SHA256/512 that can
cause segmentation faults when passed in salts with a null byte
early.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add json_last_error_msg() function</title>
<updated>2012-06-28T18:11:27+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2012-06-28T18:09:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=974324676b2436f159f42d9241c569f813471684'/>
<id>974324676b2436f159f42d9241c569f813471684</id>
<content type='text'>
This replaces json_last_error(true) and is consistent with other custom
error handling functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This replaces json_last_error(true) and is consistent with other custom
error handling functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #62432 ReflectionMethod random corrupt memory on high concurrent</title>
<updated>2012-06-27T21:26:33+00:00</updated>
<author>
<name>Johannes Schlüter</name>
<email>johannes@php.net</email>
</author>
<published>2012-06-27T21:26:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=b025b9d0cf9921d26fc4dad43cf26390d0a8c5dd'/>
<id>b025b9d0cf9921d26fc4dad43cf26390d0a8c5dd</id>
<content type='text'>
This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the same issue in multiple extensions. This isn't needed
in later branches as 5.4 introduced object_properties_init()
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve JSON error handling</title>
<updated>2012-06-27T10:21:48+00:00</updated>
<author>
<name>Nikita Popov</name>
<email>nikic@php.net</email>
</author>
<published>2012-06-27T10:19:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=4662151ea7d7b6920d115cf2a2d6e9d4232727a3'/>
<id>4662151ea7d7b6920d115cf2a2d6e9d4232727a3</id>
<content type='text'>
json_encode() no longer throws warnings. Instead only the error code for
json_last_error() is set.

As it is hard to debug the error from just an error code an optional
$as_string parameter was added to json_last_error(), which returns an
error message instead of an error code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
json_encode() no longer throws warnings. Instead only the error code for
json_last_error() is set.

As it is hard to debug the error from just an error code an optional
$as_string parameter was added to json_last_error(), which returns an
error message instead of an error code.
</pre>
</div>
</content>
</entry>
</feed>
