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
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:
35 + 9 = ?
Subscribe to this entry?

 
 [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 Mar 28 17:01:29 2024 UTC