#19414 [NEW]: mktime causes a crash for certian values.

From: Date: Sun, 15 Sep 2002 09:54:48 +0000
Subject: #19414 [NEW]: mktime causes a crash for certian values.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19388@lists.php.net to get a copy of this message
From: mike@graftonhall.co.nz Operating system: Windows 2000 SP2 PHP version: 4.2.3 PHP Bug Type: Date/time related Bug description: mktime causes a crash for certian values. PHP version: 4.3.0-dev PHP: 20020307 PHP Extension: 20020429 Zend Extension: 20020903 From snaps.php.net Under windows mktime causes php to crash when it's result is greater than (2^32)-1 ie: echo mktime(3,14,7,1,19,2038); outputs 2147436847 ((2^32)-1) on second into the future echo mktime(3,14,8,1,19,2038); crashes. should return 2^32 - Mike :-) -- Edit bug report at http://bugs.php.net/?id=19414&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19414&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19414&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19414&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19414&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19414&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19414&r=support Expected behavior: http://bugs.php.net/fix.php?id=19414&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19414&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19414&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19414&r=globals

« previous php.bugs (#19388) next »