Re: Re: com php-src: Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders: NEWS ext/pdo_pgsql/pgsql_statement.c
ext/pdo_pgsql/tests/bug72570.phpt
| From: | Matteo Beccati | Date: | Wed, 13 Jul 2016 15:22:55 +0000 |
| Subject: | Re: Re: com php-src: Fixed bug #72570 Segmentation fault when binding parameters on a query without placeholders: NEWS ext/pdo_pgsql/pgsql_statement.c ext/pdo_pgsql/tests/bug72570.phpt |
||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94501@lists.php.net to get a copy of this message | ||
Hi Anatol
On 13/07/2016 12:35, Matteo Beccati wrote:
> On 13/07/2016 12:19, Anatol Belski wrote:
>> So you effectively suggest to take both #72570 and #70313 into the
>> 7.0.9 final? I was thinking about merging #72570 partially,
>> excluding test, do you think it would suffice?
>
> I haven't tested it alone, but I guess it's safe to use. Eventually
> for 7.0.9 we could modify the test to comply with the result, and
> that would suffice to check that there's no segfault.
You can use the following patch:
https://github.com/mbeccati/php-src/commit/5ed917f6a62c6e5be88ed07332f3507d304866f8.patch
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/