summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2004-02-02 08:09:53 +0000
committerAntony Dovgal <tony2001@php.net>2004-02-02 08:09:53 +0000
commitfec01159b140a03cd1f335441440ced3ee51571a (patch)
treebeacf78ea3c3800d620173719b4a26ce56fe6ef9 /ext/oci8/oci8.c
parent59369e08abb0fc07f2457f05052a7b991e8b9754 (diff)
downloadphp-git-fec01159b140a03cd1f335441440ced3ee51571a.tar.gz
fix yet another possible segfault
Diffstat (limited to 'ext/oci8/oci8.c')
-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);