ID:               40632
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs at thequod dot de
-Status:           Open
+Status:           Closed
 Bug Type:         Reproducible crash
 Operating System: Ubuntu Linux
 PHP Version:      5CVS-2007-02-25 (CVS)
 New Comment:

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.




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

[2007-02-25 23:59:43] phpbugs at thequod dot de

changed "Summary"

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

[2007-02-25 23:57:29] phpbugs at thequod dot de

This does not seem to be related to the lifetime alone 
(which is time()+10 years), but I can reproduce it with:
setcookie( 'foo', '33_9Bm6MWngjfF745MSCgoqREt3umW7ttC6', 
time() )
, too.

OTOH
setcookie( 'foo', 'bar', time() );
or
setcookie( 'foo', '33_9Bm6MWngjfF745MSCgoqREt3umW7ttC6' );
do not segfault.

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

[2007-02-25 23:46:34] phpbugs at thequod dot de

Description:
------------
We use a quite huge cookie lifetime in our application 
(b2evolution) which causes a segmentation fault with 
current CVS.

When I rename the cookie name and value, it 
becomes "zend_mm_heap corrupted" instead.

Reproduce code:
---------------
# "zend_mm_heap corrupted":
setcookie( 'foo', 'bar', 1487806696, '/blogs/', '.b2cvs18.local' );

# "Segmentation fault":
setcookie( 'cookieb2evosession', '33_9Bm6MWngjfF745MSCgoqREt3umW7ttC6',
1487806696, '/blogs/', '.b2cvs18.local' );


Expected result:
----------------
Nothing.

Actual result:
--------------
zend_mm_heap corrupted

or

Segmentation fault


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


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

Reply via email to