php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34331 Seg Fault when variables_order is empty
Submitted: 2005-09-01 18:57 UTC Modified: 2005-09-01 21:16 UTC
From: ludvig dot ericson at gmail dot com Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 5.1.0RC1 OS: Gentoo Linux 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: ludvig dot ericson at gmail dot com
New email:
PHP Version: OS:

 

 [2005-09-01 18:57 UTC] ludvig dot ericson at gmail dot com
Description:
------------
If the php.ini directive variables_order is set to "" PHP will crash when run i CLI mode (don't know about apache handler).
It appears that it doesn't affect it when using -d variables_order="" at the command line, though. I am also using the disable_functions directive to disallow session_* related functions

Reproduce code:
---------------
$ php -c php.ini -r "echo 'hello world';"

Expected result:
----------------
hello world$ 

Actual result:
--------------
Segmentation fault
$ 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-01 21:16 UTC] iliaa@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 16:01:28 2024 UTC