Re: com php-src: Fix buffer growth in sockets/conversion.c: ext/sockets/conversions.c
| From: | Kalle Sommer Nielsen | Date: | Wed, 17 Jun 2015 20:49:31 +0000 |
| Subject: | Re: com php-src: Fix buffer growth in sockets/conversion.c: ext/sockets/conversions.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-87346@lists.php.net to get a copy of this message | ||
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