ID:               15879
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Session related
 Operating System: Linux/FreeBSD
 PHP Version:      4.1.2
 New Comment:

Please do not submit the same bug more than once.


Previous Comments:
------------------------------------------------------------------------

[2002-03-05 09:48:45] [EMAIL PROTECTED]

This function call causes frequent segmentation fault + core on Apache
1.3.2x + PHP 4.1.x (all versions => 4.1.0)





function StartMySession() {


                srand((double) microtime() * 1000000); 


                $hash = bin2hex(mhash(MHASH_MD5, rand(1, time()) .
microtime(), 'public_identificator'));


                session_id($hash);


                session_name($this->globalName);               
session_set_cookie_params($this->globalTime, '/', '.my.domain');


                session_start();


                $sessionID = session_id();


                $GLOBALS[$this->varControlName] = true;


                session_register($this->varControlName);


                return $sessionID;


        }





  PHP compiled as Apache module:


--with-gd=../gd-1.8.4 \


--with-oci8 \


--enable-sigchild \


--enable-ftp \


--with-mysql \


--with-xml \


--enable-track-vars \


--enable-sysvsem \


--enable-sysvshm \


--enable-trans-sid \


--enable-gd-native-ttf \


--with-ttf=../freetype-2.0.8 \


--with-jpeg-dir=/usr/lib \


--with-zlib-dir=/usr/lib \


--with-png-dir=/usr/lib \


--with-mhash




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15879&edit=1

Reply via email to