fixed date not allocating enough buffer, bug 7963

This commit is contained in:
Daniel Beulshausen 2001-01-05 17:34:47 +00:00
parent fe8238e6e9
commit be5cfa608a

View file

@ -256,7 +256,7 @@ php_date(INTERNAL_FUNCTION_PARAMETERS, int gm)
case 'F': /* month, textual, full */
case 'l': /* day (of the week), textual */
case 'T': /* timezone name */
size += 9;
size += 28;
break;
case 'Z': /* timezone offset in seconds */
size += 6;