php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6966 Com Error with ISAPI Module
Submitted: 2000-09-30 23:19 UTC Modified: 2001-01-29 17:24 UTC
From: jmoore@php.net Assigned:
Status: Closed Package: COM related
PHP Version: 4.0.2 OS: Win32 ISAPI Module
Private report: No CVE-ID: None
 [2000-09-30 23:19 UTC] jmoore@php.net
FROM MANUAL ERRATA:
==========================================================
I have a COM object that posts data to a URL and returns the resulted html code, but when there is no result data I get an error which causes php to hault completely.

PHP as an ISAPI module it gives me:

<i>"PHP has encountered an Access Violation at 780012F3"</i>

PHP as a CGI would say something to the effect of:
CGI Runtime error.
<i><sub>(I forget, I could find an old email about it later if it matters.)</sub></i>

Anyways, to get around it, we had to rewrite the COM object .dll to write a space if the value was NULL. It may want to be looked into about compensating for this in the actual com_get function though.
Just wanted to say.
- Trave <trave@scene.cx>

============================================================

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-29 17:24 UTC] phanto@php.net
fixed in cvs
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 12:01:27 2024 UTC