#27759 [Fbk->Opn]: bcadd() causes crash if first parameter is empty string
| From: | patrick at rap-x dot com | Date: | Mon, 05 Apr 2004 03:54:50 +0000 |
| Subject: | #27759 [Fbk->Opn]: bcadd() causes crash if first parameter is empty string | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57503@lists.php.net to get a copy of this message | ||
ID: 27759
User updated by: patrick at rap-x dot com
Reported By: patrick at rap-x dot com
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Windows XP
PHP Version: 5.0.0RC1
New Comment:
The same code causes the same problem with PHP5 RC2. Output from the
first section of phpinfo() below.
-----------------------------
PHP Version 5.0.0RC2-dev
System Windows NT ME 5.1 build 2600
Build Date Apr 3 2004 04:32:40
Configure Command cscript /nologo configure.js
"--enable-snapshot-build" "--with-gd=shared"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS\php.ini
PHP API 20031224
PHP Extension 20040316
Zend Extension 90021012
Debug Build no
Thread Safety enabled
IPv6 Support enabled
Registered PHP Streams php, file, http, ftp, compress.zlib
Registered Stream Socket Transports tcp, udp
.............
BCMath support enabled
Previous Comments:
------------------------------------------------------------------------
[2004-04-04 21:32:50] magnus@php.net
Latest snapshot
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-04-04 20:48:23] patrick at rap-x dot com
The bug is still reproducible, on the same code base. I don't have a
windows compiler for C, so I can't try the hugely useful suggestion
from polita.
I've commented out or replaced all instances of bcmath functions in my
code. I don't have a windows compiler for C, so I can't try the hugely
useful suggestion from polita.
If someone can point me to some binaries I'll test them.
------------------------------------------------------------------------
[2004-04-04 14:01:17] iliaa@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2004-04-02 09:21:02] marwan at marvonline dot org
I've tested the April 1st build and it still has the problem.
This affects all the bcmath functions and happens when either of the
first two arguments evaluates to zero (this means 0, '0', and '').
I have the same setup as the original submitter.
------------------------------------------------------------------------
[2004-03-29 16:29:14] pollita@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27759
--
Edit this bug report at http://bugs.php.net/?id=27759&edit=1