]> granicus.if.org Git - php/commitdiff
MFB: Fixed bug #38400 (Use of com.typelib_file may cause a crash).
authorIlia Alshanetsky <iliaa@php.net>
Wed, 18 Oct 2006 23:47:46 +0000 (23:47 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Wed, 18 Oct 2006 23:47:46 +0000 (23:47 +0000)
ext/com_dotnet/com_extension.c

index 56526805ac871dd6a7a69e917055014397d0e441..d0ec3bbb8547997bc684f3a43ef78ef65db4cf57 100644 (file)
@@ -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);