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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 17:01:32 2024 UTC