Bug #12748 Updated: changing allow_url_fopen from "off" to "on" crashes fopen()

From: Date: Mon, 01 Apr 2002 02:18:25 +0000
Subject: Bug #12748 Updated: changing allow_url_fopen from "off" to "on" crashes fopen()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3708@lists.php.net to get a copy of this message
ID: 12748 Updated by: phpman@toowards.com Reported By: phpman@toowards.com Status: Open Bug Type: Reproducible crash Operating System: redhat-7.1b -PHP Version: CVS-2002-02-04 +PHP Version: CVS-2002-04-01 New Comment: I tested today on the 4.2.0 branch and I'm still getting the same problem. Program received signal SIGSEGV, Segmentation fault. 0x402c4b6d in zend_hash_find (ht=0x4039e1e0, arKey=0x811288c "http://www.php.net", nKeyLength=4, pData=0xbfffe1e8) at zend_hash.c:861 861 p = ht->arBuckets[nIndex]; I think Bug #15854 (http://bugs.php.net/bug.php?id=15854) is related to this. Previous Comments: ------------------------------------------------------------------------ [2002-02-04 16:09:23] edink@php.net This one is still not fixed. ------------------------------------------------------------------------ [2002-02-04 03:44:45] phpman@toowards.com I haven't got the latest snapshot handy - or a machine to test on just at the moment, but I did a quick test on 4.1.0 and segmentation faults appear in my log, so it looks like the bug still exists. I'll try a proper test when I get a chance. I don't seem to be able to change it the status to Open using this bug reporter however. Thanks ------------------------------------------------------------------------ [2002-02-04 02:15:35] yohgaki@php.net The version of PHP that this bug was reported in is too old. Please try to reproduce this bug in the latest version of PHP (available from http://www.php.net/downloads.php If you are still able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". ------------------------------------------------------------------------ [2001-10-10 19:01:52] phpman@toowards.com See #13633 which describes a similar problem - I am not alone :-) ------------------------------------------------------------------------ [2001-08-18 05:56:51] phpman@toowards.com Also, phpinfo() shows a blank cell for the 'Master Value' and "1" for the 'Local Value' of 'allow_url_fopen' when using; in php.ini: allow_url_fopen = Off & in httpd.conf php_admin_flag allow_url_fopen On I tried using "allow_url_fopen = 0" (Master Value becomes "0", fopen() still crashes). I also tried "php_admin_value allow_url_fopen 1" (Local Value still "1", fopen() still crashes). When I leave out the setting in httpd.conf, and just have "allow_url_fopen = Off" in the php.ini file, phpinfo() has "no value" written for the Master Value and Local Value. Maybe this helps? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/12748 -- Edit this bug report at http://bugs.php.net/?id=12748&edit=1

« previous php.bugs (#3708) next »