php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22630 session_start(): read returned less bytes than requested
Submitted: 2003-03-11 02:50 UTC Modified: 2003-03-12 01:55 UTC
From: birkhofer at vseth dot ethz dot ch Assigned:
Status: Closed Package: Session related
PHP Version: 4.3.1 OS: Linux-ppc (Debian)
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: birkhofer at vseth dot ethz dot ch
New email:
PHP Version: OS:

 

 [2003-03-11 02:50 UTC] birkhofer at vseth dot ethz dot ch
This bug exists in 4.3.0 and 4.3.1 but *not* in 4.2.3. I installed 4.2.3 over 4.3.1. 

./configure --with-ldap --with-mysql --with-apxs

<?
session_start();
if ( session_is_registered( "foo" )) echo $_SESSION["foo"];
$_SESSION["foo"] = "bar";
?>

Problem: session_start() generates the error

session_start(): read returned less bytes than requested in /var/www/session.php on line 2

the 2nd++ time the page is loaded.

- If no Session variable is set there's no error
- /tmp/sess_.. looks fine:
    foo|s:3:"bar";


PHP is the only 'custom' software, all the other apps are part of Debian stable. The box is a PowerMac (ppc). 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-12 01:55 UTC] birkhofer at vseth dot ethz dot ch
The bug does not appear in the latest CVS-stable version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 22 21:01:29 2024 UTC