From: Ilia Alshanetsky Date: Wed, 28 Jan 2004 01:43:55 +0000 (+0000) Subject: MFH: Fixed bug #27058 (crash in sybase_connect() with 2 arguments). X-Git-Tag: php-4.3.5RC2~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd4d0ba050454aa0b6b8bcb871819d47ad2f8d65;p=php MFH: 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 362a9921c9..9c0e57446f 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);