]> granicus.if.org Git - php/commitdiff
fixed date not allocating enough buffer, bug 7963
authorDaniel Beulshausen <dbeu@php.net>
Fri, 5 Jan 2001 17:34:47 +0000 (17:34 +0000)
committerDaniel Beulshausen <dbeu@php.net>
Fri, 5 Jan 2001 17:34:47 +0000 (17:34 +0000)
ext/standard/datetime.c

index 3c2f3d8efe986fa879415687a022224d128fa95e..15c417ee247b35315a4d502379145d5bb3dccbfe 100644 (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;