summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/oci8/oci8.c4
1 files changed, 4 insertions, 0 deletions
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);