Bug #72329 [Opn]: gmp_div segFaults
| From: | raulrodriguez782 at gmail dot com | Date: | Fri, 03 Jun 2016 15:33:33 +0000 |
| Subject: | Bug #72329 [Opn]: gmp_div segFaults | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201433@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72329&edit=1
ID: 72329
User updated by: raulrodriguez782 at gmail dot com
Reported by: raulrodriguez782 at gmail dot com
Summary: gmp_div segFaults
Status: Open
Type: Bug
Package: GNU MP related
Operating System: OSX
PHP Version: 5.5.36
Block user comment: N
Private report: N
New Comment:
Also reproduced in php 5.5.35
Previous Comments:
------------------------------------------------------------------------
[2016-06-03 15:30:21] raulrodriguez782 at gmail dot com
Description:
------------
I've reproduced this error on php 5.5.21, php 5.6.21 and php 7.0.7.
<?php
gmp_div('123', '123');
It throws a seg fault
Test script:
---------------
<?php
1 == gmp_div('123', '123');
Actual result:
--------------
Segmentation fault
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72329&edit=1