#31537 [NEW]: idate crashes
From: corneliu at gmail dot com
Operating system: WinXP
PHP version: 5.0.3
PHP Bug Type: Date/time related
Bug description: idate crashes
Description:
------------
Server Apache 2.0.52 win32
idate crashes if [int timestamp] parameter is date less than 1 January
1970
Reproduce code:
---------------
<?php var_dump(idate("L", mktime(0,0,0,1,1,1900))); ?>
Expected result:
----------------
bool(false)
Actual result:
--------------
Apache.exe - Application Error
The instruction at "0x0073e083" referenced memory at "0x00000014". The
memory could not be "read".
Click on OK to terminate the program
Click on CANCEL to debug the program
--
Edit bug report at http://bugs.php.net/?id=31537&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31537&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31537&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31537&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31537&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31537&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31537&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31537&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31537&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31537&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31537&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31537&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31537&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31537&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31537&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31537&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31537&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31537&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31537&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31537&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31537&r=mysqlcfg
Thread (3 messages)
- corneliu at gmail dot com