Skip to content

Commit

Permalink
MFH: Fixed bug #27058 (crash in sybase_connect() with 2 arguments).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Jan 28, 2004
1 parent 7afa348 commit dd4d0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/sybase/php_sybase_db.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit dd4d0ba

Please sign in to comment.