php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16164 Bug ID #15454 is also a problem in PHP 4.1.2
Submitted: 2002-03-19 07:06 UTC Modified: 2002-03-19 18:07 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: heje at int dot tele dot dk Assigned:
Status: Closed Package: Math related
PHP Version: 4.1.2 OS: RedHat 6.2
Private report: No CVE-ID: None
 [2002-03-19 07:06 UTC] heje at int dot tele dot dk
The bug reported in Bug ID #15454
has reappeared in PHP 4.1.2

sample:
$x =
gmp_init("0x00d2d025ec7e1dbb6d778a52394c988594c57b47d7327a3e676d3a5ca7a5
af87c4153c80994cf781f6a9d4a2f0e66d04baffb0059853a8937a895f6d17e76950e1")
;

printf("%s",gmp_strval($x));

returns zero again 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-19 08:08 UTC] sander@php.net
It has probably been fixed in 4.2.0.
Try a snapshot from http://snaps.php.net
Reopen if the problem still occurs.
 [2002-03-19 08:34 UTC] heje at int dot tele dot dk
Things appear to be working in snapshot php4-200203190300.
Is it possible to make a patch for PHP 4.1.2 ?
I need the 4.1.2 release in order to get Zend Accelerator to work
 [2002-03-19 18:07 UTC] sniper@php.net
You can try this:

http://cvs.php.net/diff.php/php4/ext/gmp/gmp.c?r1=1.19.2.1&tr1=1.1&ty=u&r2=0&tr2=1.26

But I'd wait for PHP 4.2.0 to be released. (in about month)

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC