From fec01159b140a03cd1f335441440ced3ee51571a Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 2 Feb 2004 08:09:53 +0000 Subject: [PATCH] fix yet another possible segfault --- ext/oci8/oci8.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.50.1