php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28838 bcmod aborts with Access Violation
Submitted: 2004-06-18 21:47 UTC Modified: 2004-06-18 22:13 UTC
From: steve dot gilbreth at autodesk dot com Assigned:
Status: Not a bug Package: BC math related
PHP Version: 5.0.0RC3 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: steve dot gilbreth at autodesk dot com
New email:
PHP Version: OS:

 

 [2004-06-18 21:47 UTC] steve dot gilbreth at autodesk dot com
Description:
------------
The bcmod function aborts with an Access Violation:

PHP has encountered an Access Violation at 01E22BAB


Running Windows 200 server with IIS 5.0 in ISAPI

Reproduce code:
---------------
In the following code sample if $flip = 0 then we crash and burn.

		if (bcmod($flip, 2) == "0") {
			//do stuff
		}

Actual result:
--------------
PHP has encountered an Access Violation at 01E22BAB

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-18 22:13 UTC] pollita@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

We're aware of this issue and are working on tracking it down.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 28 06:03:33 2021 UTC