Bugs item #460338, was opened at 2001-09-10 08:18
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=403611&aid=460338&group_id=31885
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Sebastien Delaire (pes)
Assigned to: Nobody/Anonymous (nobody)
Summary: Session Expiration (Billionth second bug
Initial Comment:
Hi,
there's a problem in the file ct_shm.inc when using
sessions (this bug is probably here in other session
containers)
If the current date is below the billionth (1 000 000
000) second, and the expiration date is upper.
The garbage collector thinks that it should remove the
session because the comparison used is a string cmp ..
(not an integer one)
A patch could be to replace the strcmp on these lines :
67 sas 1.2 $dat =
explode(";", $val);
68 if($name ==
$dat[1] && strcmp($dat[3], $cmp) < 0)
by a $dat[3] < $cmp .
This bug will not exist for a long time, but will occur
each billion seconds :)
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=403611&aid=460338&group_id=31885
|