diff options
author | Felipe Pena <felipe@php.net> | 2011-06-11 01:15:14 +0000 |
---|---|---|
committer | Felipe Pena <felipe@php.net> | 2011-06-11 01:15:14 +0000 |
commit | 950a716b1229e540531fe88d654ca7177411df8d (patch) | |
tree | b83cb95be721565a7e12460c3c09425835f494e3 /ext/sybase_ct | |
parent | 9c81d0523899c44aad849bd24f2bebde5d8e370c (diff) | |
download | php-git-950a716b1229e540531fe88d654ca7177411df8d.tar.gz |
- Possible fix for bug #55022 (memory_limit exhausted when set charset in sybase_connect)
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r-- | ext/sybase_ct/php_sybase_ct.c | 2 |
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 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; |