php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1963 GetServerVariable() does not set the size of buffer (in/out parameter)
Submitted: 1999-08-04 17:04 UTC Modified: 1999-08-04 18:15 UTC
From: tod at sambar dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 1 OS: NT
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: tod at sambar dot com
New email:
PHP Version: OS:

 

 [1999-08-04 17:04 UTC] tod at sambar dot com
The PHP4 ISAPI interface does not set the size of the
buffer when calling GetServerVariable() --  this is
an in/out variable according to the ISAPI spec (and
the MS documentation).  The WWW server is supposed
to use this variable to determine whether there is space in
the buffer for the variable.  The argument is then set
to the length copied to the buffer.  Some servers 
(including mine) require this variable be set.

thanks!
sambar

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-08-04 18:15 UTC] zeev at cvs dot php dot net
Fixed in the latest CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 02 05:01:30 2024 UTC