From: Antony Dovgal Date: Mon, 2 Feb 2004 08:09:53 +0000 (+0000) Subject: fix yet another possible segfault X-Git-Tag: php-5.0.0b4RC1~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fec01159b140a03cd1f335441440ced3ee51571a;p=php fix yet another possible segfault --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 237b8ef414..4f79a993ed 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -6011,6 +6011,10 @@ PHP_FUNCTION(oci_password_change) WRONG_PARAM_COUNT; } + convert_to_string_ex(user_param); + convert_to_string_ex(pass_old_param); + convert_to_string_ex(pass_new_param); + user = Z_STRVAL_PP(user_param); pass_old = Z_STRVAL_PP(pass_old_param); pass_new = Z_STRVAL_PP(pass_new_param);