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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
9 + 6 = ?
Subscribe to this entry?

 
 [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: Wed Sep 23 00:01:23 2020 UTC