php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71204 segfault if clean spl_autoload_funcs while autoloading
Submitted: 2015-12-23 16:08 UTC Modified: -
From: laruence@php.net Assigned:
Status: Closed Package: *General Issues
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2015-12-23 16:08 UTC] laruence@php.net
Description:
------------
none

Test script:
---------------
<?php

spl_autoload_register(function ($name) {
    spl_autoload_unregister("spl_autoload_call");
});

spl_autoload_register(function ($name) {
});

new A();
?>


Expected result:
----------------
no crash

Actual result:
--------------
crash

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-23 16:13 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=620ccc9b1a0a593786a364af15d45fd797a6cf1f
Log: Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)
 [2015-12-23 16:13 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2015-12-23 16:14 UTC] laruence@php.net
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=620ccc9b1a0a593786a364af15d45fd797a6cf1f
Log: Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 08:01:29 2024 UTC