|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74832 Loading PHP extension with already registered function name leads to a crash
Submitted: 2017-06-29 18:21 UTC Modified: 2017-06-29 18:21 UTC
From: Assigned: jpauli (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 7.0.20 OS: *
Private report: No CVE-ID: None
 [2017-06-29 18:21 UTC]
If you register an extension that declares a function name already in use (f.e reset()) , the engine crashes.

This is because the engine dlclose() the .so but forgets to remove the extension from the module_registry. Hence a crash when it comes to sort modules.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-29 18:21 UTC]
-Assigned To: +Assigned To: jpauli
 [2017-06-29 18:27 UTC]
Automatic comment on behalf of jpauli
Log: Fix bug #74832, crash in extension loading
 [2017-06-29 18:27 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Oct 04 18:01:26 2023 UTC