From: Ilia Alshanetsky Date: Wed, 18 Oct 2006 23:47:46 +0000 (+0000) Subject: MFB: Fixed bug #38400 (Use of com.typelib_file may cause a crash). X-Git-Tag: RELEASE_1_0_0RC1~1253 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0a56eb60970fac7aa0a9c92532df98ae26ea60a;p=php MFB: Fixed bug #38400 (Use of com.typelib_file may cause a crash). --- diff --git a/ext/com_dotnet/com_extension.c b/ext/com_dotnet/com_extension.c index 56526805ac..d0ec3bbb85 100644 --- a/ext/com_dotnet/com_extension.c +++ b/ext/com_dotnet/com_extension.c @@ -191,8 +191,6 @@ PHP_MINIT_FUNCTION(com_dotnet) { zend_class_entry ce, *tmp; - REGISTER_INI_ENTRIES(); - php_com_wrapper_minit(INIT_FUNC_ARGS_PASSTHRU); php_com_persist_minit(INIT_FUNC_ARGS_PASSTHRU); @@ -226,6 +224,8 @@ PHP_MINIT_FUNCTION(com_dotnet) tmp->get_iterator = php_com_iter_get; #endif + REGISTER_INI_ENTRIES(); + #define COM_CONST(x) REGISTER_LONG_CONSTANT(#x, x, CONST_CS|CONST_PERSISTENT) COM_CONST(CLSCTX_INPROC_SERVER);