Bug #66964 [Opn->Asn]: mb_convert_variables() cannot detect recursion
| From: | yohgaki@php.net | Date: | Sun, 06 Jul 2014 01:52:38 +0000 |
| Subject: | Bug #66964 [Opn->Asn]: mb_convert_variables() cannot detect recursion | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-186482@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66964&edit=1
ID: 66964
Updated by: yohgaki@php.net
Reported by: ryosuke_i_628 at yahoo dot co dot jp
Summary: mb_convert_variables() cannot detect recursion
-Status: Open
+Status: Assigned
Type: Bug
Package: mbstring related
PHP Version: Irrelevant
-Assigned To:
+Assigned To: yohgaki
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2014-03-27 07:37:11] ryosuke_i_628 at yahoo dot co dot jp
Description:
------------
mb_convert_variables() cannot detect recursion.
It should be able to detect like var_dump() or print_r().
Test script:
---------------
<?php
$a[] = &$a;
mb_convert_variables('utf-8', 'auto', $a);
Expected result:
----------------
Success with no outputs.
Actual result:
--------------
Fatal error: Out of memory (allocated 542113792) (tried to allocate 541851648 bytes) in ... on line
3
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66964&edit=1