cvs: php4 /ext/standard datetime.c
| From: | Rasmus Lerdorf | Date: | Tue, 02 Jan 2001 20:26:52 +0000 |
| Subject: | cvs: php4 /ext/standard datetime.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-3325@lists.php.net to get a copy of this message | ||
rasmus Tue Jan 2 12:26:52 2001 EDT
Modified files:
/php4/ext/standard datetime.c
Log:
Fix date('r') overflow
@Fix date('r') overflow
Index: php4/ext/standard/datetime.c
diff -u php4/ext/standard/datetime.c:1.58 php4/ext/standard/datetime.c:1.59
--- php4/ext/standard/datetime.c:1.58 Thu Dec 7 16:12:35 2000
+++ php4/ext/standard/datetime.c Tue Jan 2 12:26:51 2001
@@ -19,7 +19,7 @@
*/
-/* $Id: datetime.c,v 1.58 2000/12/08 00:12:35 sas Exp $ */
+/* $Id: datetime.c,v 1.59 2001/01/02 20:26:51 rasmus Exp $ */
#include "php.h"
@@ -214,7 +214,7 @@
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: