mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
fixed date not allocating enough buffer, bug 7963
This commit is contained in:
parent
fe8238e6e9
commit
be5cfa608a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue