Browse Source

Fix date('r') overflow

@Fix date('r') overflow
PHP-4.0.5
Rasmus Lerdorf 26 years ago
parent
commit
a35b9c45f5
  1. 2
      ext/standard/datetime.c

2
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:

Loading…
Cancel
Save