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

- Thread: https://externals.io/message/11338
- Original archive: https://news-web.php.net/php.internals/11338
- Started by Kamesh Jayachandran on 2004-07-19T09:19:30+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #11338 — Kamesh Jayachandran — 2004-07-19T09:19:30+00:00

URL: https://externals.io/message/11338#11338

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

---

## #11390 — Marcus Boerger — 2004-07-20T19:26:32+00:00

URL: https://externals.io/message/11338#11390 · In reply to: #11338

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
