handle member in zend_module_entry is not getting populated(New issue)(Posted second time)

php.internals

Kamesh Jayachandran

22 years ago
Hi, Now handle member of zend_module_entry is getting populated(see php_dl function inside the ext/standard/dl.c). But it will not help as it should be set before calling zend_register_module_ex.(As this function copies the whole zend_module_entry to module_registry which is later used when trying to free the resources). Currently it is getting copied before getting returned from the php_dl(At the end just before RETURN_TRUE). With regards Kamesh Jayachandran

Marcus Börger

22 years ago
Hello Kamesh, Monday, July 19, 2004, 11:19:30 AM, you wrote:
> Hi, > Now handle member of zend_module_entry is getting populated(see php_dl > function inside the ext/standard/dl.c). > But it will not help as it should be set before calling > zend_register_module_ex.(As this function copies the whole > zend_module_entry to module_registry which is later used when trying to > free the resources).
> Currently it is getting copied before getting returned from the > php_dl(At the end just before RETURN_TRUE).
You're right, i applied the fix. regards marcus