ID: 9083 Updated by: elixer Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Bug Type: Reproduceable crash Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2001-02-02 17:08:01] [EMAIL PROTECTED] At least on my system, <? print(date('r')); ?> crashes the web server process. This is because it's trying to put a 32-byte string into a 16-byte buffer. static void php_date(INTERNAL_FUNCTION_PARAMETERS, int gm) { pval **format, **timestamp; time_t the_time; struct tm *ta, tmbuf; int i, size = 0, length, h, beat; - char tmp_buff[16]; + char tmp_buff[32]; switch(ZEND_NUM_ARGS()) { case 1: --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9083&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]