]> granicus.if.org Git - php/commitdiff
fix yet another possible segfault
authorAntony Dovgal <tony2001@php.net>
Mon, 2 Feb 2004 08:09:53 +0000 (08:09 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 2 Feb 2004 08:09:53 +0000 (08:09 +0000)
ext/oci8/oci8.c

index 237b8ef4140bd4bf2116a17226b52137316d397a..4f79a993edf941c99fd510a6b8b9b7b0452b61ee 100644 (file)
@@ -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);