Bug #74832 [Asn->Csd]: Loading PHP extension with already registered function name leads to a crash

From: Date: Thu, 29 Jun 2017 18:27:22 +0000
Subject: Bug #74832 [Asn->Csd]: Loading PHP extension with already registered function name leads to a crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209735@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74832&edit=1 ID: 74832 Updated by: jpauli@php.net Reported by: jpauli@php.net Summary: Loading PHP extension with already registered function name leads to a crash -Status: Assigned +Status: Closed Type: Bug Package: Scripting Engine problem Operating System: * PHP Version: 7.0.20 Assigned To: jpauli Block user comment: N Private report: N New Comment: Automatic comment on behalf of jpauli Revision: http://git.php.net/?p=php-src.git;a=commit;h=3f4340a79630579e06cf95603687f792bd133332 Log: Fix bug #74832, crash in extension loading Previous Comments: ------------------------------------------------------------------------ [2017-06-29 18:21:05] jpauli@php.net Description: ------------ 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74832&edit=1

« previous php.bugs (#209735) next »