php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6422 PHP Crashing with 4.0.2
Submitted: 2000-08-29 18:57 UTC Modified: 2000-10-20 17:14 UTC
From: brad at youreshop dot com Assigned:
Status: Closed Package: MSSQL related
PHP Version: 4.0.1pl2 OS: Windows 2000 Pro
Private report: No CVE-ID: None
 [2000-08-29 18:57 UTC] brad at youreshop dot com
Running Win2k with PHP 4.0.2 and MS SQL 7.0 I get the following error:

The instruction at "0x78002d15" referenced memory at "0x00000000". The memory could not be "read".

I try and debug it, but VC++ crashes.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-09 18:41 UTC] brad@php.net
The problem now only occurs when there is an error returned from the mssql_* functions.

If I do something like:

mssql_connect("SOME_WRONG_HOST","WRONG_USER","WRONG_PASS");

it won't connect, and PHP will crash.

but if I do:

@mssql_connect("SOME_WRONG_HOST","WRONG_USER","WRONG_PASS");

It just doesn't display the error, but PHP doesn't crash.
 [2000-10-20 17:14 UTC] fmk@php.net
Some errors was fixet in php 4.0.3. Please update an try again.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Dec 11 09:01:28 2024 UTC