[php-src] Issue #8366: Memory leak in ArrayIterator when manually calling __construct()
| From: | morrisonlevi | Date: | Wed, 13 Apr 2022 18:28:52 +0000 |
| Subject: | [php-src] Issue #8366: Memory leak in ArrayIterator when manually calling __construct() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240940@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8366
Comment Author: morrisonlevi
Ugh, IMO we need to emit warnings or exceptions when
rewind() has been skipped for most
built-in iterators -- this would prevent at least part of this bug from happening.