From be5cfa608ad720b82ef5b9d995debbeb9bc6ac9a Mon Sep 17 00:00:00 2001 From: Daniel Beulshausen Date: Fri, 5 Jan 2001 17:34:47 +0000 Subject: [PATCH] fixed date not allocating enough buffer, bug 7963 --- ext/standard/datetime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/datetime.c b/ext/standard/datetime.c index 3c2f3d8efe..15c417ee24 100644 --- a/ext/standard/datetime.c +++ b/ext/standard/datetime.c @@ -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; -- 2.50.1