php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8859 php4 tries to output strings of length 0 which leads to immediate bailing-out
Submitted: 2001-01-23 13:47 UTC Modified: 2001-04-28 15:35 UTC
From: jleg at nrw dot net Assigned:
Status: Closed Package: Other web server
PHP Version: 4.0.4pl1 OS: Solaris 2.6
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: jleg at nrw dot net
New email:
PHP Version: OS:

 

 [2001-01-23 13:47 UTC] jleg at nrw dot net
- got php4.0.4pl1 running on NES 3.5.1I (using -fno-rtti)

- a simple phpinfo() stops when trying to print an empty server variable

- workaround: added "if (str_length==0) return 0;" in line 144 after SLS_FETCH();

- but this IMHO only fixes the symptom; i think the nsapi module shouldn't set server variables when they're empty...

Jan Legenhausen

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-29 09:47 UTC] sniper@php.net
Does this happen with latest CVS snapshot from http://snaps.php.net/ ?

--Jani

 [2001-04-28 15:35 UTC] derick@php.net
No feedback. If this problem persists with PHP 4.0.5 which
will be released next week, please reopen this report.

Derick
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Sep 19 09:01:24 2020 UTC