From f641cf8b2c35969cf8bbfe7e5f2c0f20f0326dae Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Sat, 11 Jun 2011 01:15:14 +0000 Subject: [PATCH] - Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect) --- ext/sybase_ct/php_sybase_ct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c index e4a893f5c2..6a8a0a4f50 100644 --- a/ext/sybase_ct/php_sybase_ct.c +++ b/ext/sybase_ct/php_sybase_ct.c @@ -728,7 +728,7 @@ static int php_sybase_do_connect_internal(sybase_link *sybase, char *host, char static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) { - char *user, *passwd, *host, *charset, *appname; + char *user = NULL, *passwd = NULL, *host = NULL, *charset = NULL, *appname = NULL; char *hashed_details; int hashed_details_length, len; zend_bool new = 0; -- 2.40.0