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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Sun Sep 27 17:01:24 2020 UTC