From: Ilia Alshanetsky Date: Wed, 28 Jan 2004 01:43:45 +0000 (+0000) Subject: Fixed bug #27058 (crash in sybase_connect() with 2 arguments). X-Git-Tag: php-5.0.0b4RC1~268 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7bbe518f8b4bfb7408aab4e5896337626b460555;p=php Fixed bug #27058 (crash in sybase_connect() with 2 arguments). --- diff --git a/ext/sybase/php_sybase_db.c b/ext/sybase/php_sybase_db.c index 40e8089563..ff9af1d58e 100644 --- a/ext/sybase/php_sybase_db.c +++ b/ext/sybase/php_sybase_db.c @@ -330,7 +330,7 @@ static void php_sybase_do_connect(INTERNAL_FUNCTION_PARAMETERS,int persistent) case 2: { zval **yyhost, **yyuser; - if (zend_get_parameters_ex(ht, 2, &yyhost, &yyuser) == FAILURE) { + if (zend_get_parameters_ex(2, &yyhost, &yyuser) == FAILURE) { RETURN_FALSE; } convert_to_string_ex(yyhost);