#10686 [Com]: Bug in "mktime()" on values out of bounds

From: Date: Tue, 20 Jul 2004 15:02:28 +0000
Subject: #10686 [Com]: Bug in "mktime()" on values out of bounds
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-62845@lists.php.net to get a copy of this message
ID: 10686 Comment by: agreement-oral574 at hotmail dot com Reported By: dieter at fiebelkorn dot net Status: Closed Bug Type: Date/time related Operating System: MacOS X 10.0.2 - 10.1.4 (Darwin) PHP Version: 4.0.5 - 4.2.0 Assigned To: hholzgra New Comment: <a href=http://advanced-cast-blond.da.ru>agreement oral</a> Previous Comments: ------------------------------------------------------------------------ [2002-06-12 11:38:59] hholzgra@php.net fixed in latest CVS, should work on all OS/libc versions now as negative offsets are now taken care of internaly so libc mktime() won't receive any negative (or 0 for tm_mday) values anymore (see also #8828) ------------------------------------------------------------------------ [2002-06-12 09:05:30] hholzgra@php.net the patch included in this report is almost fine, but it doesn't take in account that the date passed to libc mktime() and the final result with offset applied may be on opposite sides of a DST boundary ... ------------------------------------------------------------------------ [2002-05-03 03:38:32] sander@php.net Yes you can, using the 'edit submission' button. ------------------------------------------------------------------------ [2002-05-03 02:07:13] dieter at fiebelkorn dot net Cannot change to "OPEN"! ------------------------------------------------------------------------ [2002-05-03 02:04:57] dieter at fiebelkorn dot net ***************************************************** no FIX was provided for this bug for over a year, so it is being ignoring automatically. ***************************************************** ------------------------------------------------------------------------ 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/10686 -- Edit this bug report at http://bugs.php.net/?id=10686&edit=1

« previous php.bugs (#62845) next »