Re: com php-src: Fix buffer growth in sockets/conversion.c: ext/sockets/conversions.c
| From: | Sara Golemon | Date: | Thu, 18 Jun 2015 01:05:36 +0000 |
| Subject: | Re: com php-src: Fix buffer growth in sockets/conversion.c: ext/sockets/conversions.c | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-87356@lists.php.net to get a copy of this message | ||
Pah, I ALWAYS forget this. Thanks.
On Wed, Jun 17, 2015 at 1:49 PM, Kalle Sommer Nielsen <kalle@php.net> wrote:
> Hi Sara
>
> 2015-06-17 22:34 GMT+02:00 Sara Golemon <pollita@php.net>:
>> Commit: d241711f44e85c9c59e73c17244c867820ba89e8
>> Author: Sara Golemon <sgolemon@fb.com> Wed, 17 Jun 2015 13:26:48 -0700
>> Parents: 61d58f2d9e9175786406dd11178190644a1e0183
>> Branches: PHP-5.5
>>
>> Link:
>> http://git.php.net/?p=php-src.git;a=commitdiff;h=d241711f44e85c9c59e73c17244c867820ba89e8
>>
>> Log:
>> Fix buffer growth in sockets/conversion.c
>>
>> memset() the *end* of the new buffer, not the beginning
>> Copy the pointer to the buffer, not its initial contents
>>
>> Fixes bug 69619
>>
>> Bugs:
>> https://bugs.php.net/69619
>>
>> Changed paths:
>> M ext/sockets/conversions.c
>>
>
> Please remember to update the NEWS file in both 5.5 and 5.6 with this fix :)
>
>
> --
> regards,
>
> Kalle Sommer Nielsen
> kalle@php.net