Bug #81142 [Csd]: PHP 7.3+ memory leak when unserialize() is used on an associative array

From: Date: Tue, 14 Sep 2021 16:16:55 +0000
Subject: Bug #81142 [Csd]: PHP 7.3+ memory leak when unserialize() is used on an associative array
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236602@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81142&edit=1 ID: 81142 User updated by: jnelson at archive dot org Reported by: jnelson at archive dot org Summary: PHP 7.3+ memory leak when unserialize() is used on an associative array Status: Closed Type: Bug Package: Arrays related PHP Version: 7.3.28 Block user comment: N Private report: N New Comment: The link I included in the initial report tests all versions of PHP from 5.4.0 to 8.0.7, and the leak is only seen in 7.3.0 and above. Perhaps you're seeing a different type of leak? Previous Comments: ------------------------------------------------------------------------ [2021-09-13 18:47:31] amfriedman at gmail dot com FYI -- I also reproduced this memory leak on PHP 7.2. Change the bug title? ------------------------------------------------------------------------ [2021-08-12 09:58:06] git@php.net Automatic comment on behalf of nikic Revision: https://github.com/php/php-src/commit/4a4ae45a0bcb82b01a4386433b2e4ee45862fc01 Log: Fix bug #81142 by adding zend_string_init_existing_interned() ------------------------------------------------------------------------ [2021-07-12 13:04:16] nikic@php.net Related To: Bug #81251 ------------------------------------------------------------------------ [2021-07-12 12:52:22] lyrixx at lyrixx dot info Related To: Bug #81251 ------------------------------------------------------------------------ [2021-07-12 12:43:00] cmb@php.net Related To: Bug #81251 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=81142 -- Edit this bug report at https://bugs.php.net/bug.php?id=81142&edit=1

« previous php.bugs (#236602) next »