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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Wed Sep 23 00:01:23 2020 UTC