Bug #71495 [Opn->Csd]: Segfault on RecursiveIteratorIterator

From: Date: Thu, 15 Jul 2021 13:55:38 +0000
Subject: Bug #71495 [Opn->Csd]: Segfault on RecursiveIteratorIterator
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235056@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71495&edit=1 ID: 71495 Updated by: nikic@php.net Reported by: lucashedding at gmail dot com Summary: Segfault on RecursiveIteratorIterator -Status: Open +Status: Closed Type: Bug Package: SPL related Operating System: Linux Mint 17.2 PHP Version: 7.0.2 -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: Based on https://3v4l.org/09Khf from the Drupal issue, this issue has been fixed in later PHP 7 releases. Previous Comments: ------------------------------------------------------------------------ [2016-02-01 21:40:36] lucashedding at gmail dot com Issue on drupal.org is https://www.drupal.org/node/2660670 ------------------------------------------------------------------------ [2016-02-01 21:35:31] lucashedding at gmail dot com Description: ------------ When looping over RecursiveIteratorIterator, it turns into a segmentation fault. $ php --version PHP 7.0.2-4+deb.sury.org~trusty+1 (cli) ( NTS ) Copyright (c) 1997-2015 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies with Xdebug v2.4.0RC4, Copyright (c) 2002-2016, by Derick Rethans Reverting to PHP 5.6 and there are no problems. Test script: --------------- https://gist.github.com/juancasantito/ea6c2366db98a25b08e4#file-RecursiveIteratorIterator Expected result: ---------------- Data is sucked in from google. Actual result: -------------- Seg fault ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71495&edit=1

« previous php.bugs (#235056) next »