summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2011-06-11 01:15:14 +0000
committerFelipe Pena <felipe@php.net>2011-06-11 01:15:14 +0000
commita76f790b58186fed34e4077fe8bd58ee2bec82a3 (patch)
tree84f7f041f4ba6ea6ff21535abac933ee939e0707
parent17af8b0179520adf04977d15de44770a2d3d1bbb (diff)
downloadphp-git-a76f790b58186fed34e4077fe8bd58ee2bec82a3.tar.gz
- Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect)
-rw-r--r--ext/sybase_ct/php_sybase_ct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c
index 0e8dc46a43..2d32406588 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;