php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2069 Wrong value passed in ISAPI module
Submitted: 1999-08-16 11:11 UTC Modified: 1999-08-23 15:16 UTC
From: charles at invis dot co dot uk Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 2 OS: NT4
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: charles at invis dot co dot uk
New email:
PHP Version: OS:

 

 [1999-08-16 11:11 UTC] charles at invis dot co dot uk
line 189, php4isapi.c:

lpECB->ServerSupportFunction(lpECB, HSE_REQ_SEND_RESPONSE_HEADER_EX, &header_info, NULL, NULL);

should read:

lpECB->ServerSupportFunction(lpECB->ConnID, HSE_REQ_SEND_RESPONSE_HEADER_EX, &header_info, NULL, NULL);


see http://msdn.microsoft.com/library/sdkdoc/iisref/isre0zw8.htm

extract:

BOOL ServerSupportFunction( HCONN ConnID, DWORD HSE_REQ_SEND_RESPONSE_HEADER_EX, LPVOID lpvBuffer, LPDWORD lpdwSize, LPDWORD lpdwDataType );



the extension control block is being passed back instead of the connection id. oops.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-23 15:16 UTC] andi at cvs dot php dot net
I applied your fix. Thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC