summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2001-01-02 20:26:51 +0000
committerRasmus Lerdorf <rasmus@php.net>2001-01-02 20:26:51 +0000
commita35b9c45f564196648daf9b91173523652b089f3 (patch)
treed4cc426c8cf4d91ff187953cf47b7a21a88f4835
parent7b5138035c9437aa5f66f21993b177aeae42fe2e (diff)
downloadphp-git-a35b9c45f564196648daf9b91173523652b089f3.tar.gz
Fix date('r') overflow
@Fix date('r') overflow
-rw-r--r--ext/standard/datetime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c
index c6544f253a..3c2f3d8efe 100644
--- a/ext/standard/datetime.c
+++ b/ext/standard/datetime.c
@@ -214,7 +214,7 @@ php_date(INTERNAL_FUNCTION_PARAMETERS, int gm)
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: