Re: com php-src: Zend: fix overflow handling bug in non-x86 fast_add_function(): Zend/zend_operators.h
| From: | Ard Biesheuvel | Date: | Wed, 11 Dec 2013 07:54:32 +0000 |
| Subject: | Re: com php-src: Zend: fix overflow handling bug in non-x86 fast_add_function(): Zend/zend_operators.h | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-74370@lists.php.net to get a copy of this message | ||
On 11 December 2013 08:39, Remi Collet <remi@fedoraproject.org> wrote:
> Le 10/12/2013 12:12, Ard Biesheuvel a écrit :
>> Commit: 60d2e70c062e436a6c6cd3c8a17469a083a38b46
>> Author: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tue, 10 Dec 2013
>> 12:07:46 +0100
>> Parents: 5a87b7ff39bbf427807c46d1e51e2654259ad394
>> Branches: PHP-5.6 master
>>
>> Link:
>> http://git.php.net/?p=php-src.git;a=commitdiff;h=60d2e70c062e436a6c6cd3c8a17469a083a38b46
>>
>> Log:
>> Zend: fix overflow handling bug in non-x86 fast_add_function()
>
> Test run on ARM.
>
> Without the patch (5.5.6):
>
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Test << operator : various numbers as strings
> [tests/lang/operators/bitwiseShiftLeft_variationStr.phpt]
> Test >> operator : various numbers as strings
> [tests/lang/operators/bitwiseShiftRight_variationStr.phpt]
> Test array_sum() [ext/standard/tests/array/array_sum.phpt]
> Bug #65304 (Use of max int in array_sum)
> [ext/standard/tests/array/bug65304.phpt]
> Bug #64146 (serialize incorrectly saving objects when they are cloned)
> [ext/standard/tests/serialize/bug64146.phpt]
>
>
> With (5.5.7 + patch applied)
>
> FAILED TEST SUMMARY
> ---------------------------------------------------------------------
> Test << operator : various numbers as strings
> [tests/lang/operators/bitwiseShiftLeft_variationStr.phpt]
> Test >> operator : various numbers as strings
> [tests/lang/operators/bitwiseShiftRight_variationStr.phpt]
> Bug #64146 (serialize incorrectly saving objects when they are cloned)
> [ext/standard/tests/serialize/bug64146.phpt]
>
>
> So this fix is really usefull.
> Can you please apply it in other branches ?
>
Done.