PHP :: Bug #62083 :: grapheme_extract() memory leaks

Bug #62083 grapheme_extract() memory leaks
Submitted: 2012-05-20 20:21 UTC Modified: 2012-05-23 11:36 UTC
From: felipe@php.net Assigned: cataphract (profile)
Status: Closed Package: I18N and L10N related
PHP Version: Irrelevant OS: Linux
Private report: No CVE-ID: None

 [2012-05-20 20:21 UTC] felipe@php.net

Description:
------------
See below:

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

$arr1 = array();
grapheme_extract(-1,-1,-1,-1,$arr1);



Actual result:
--------------
[Sun May 20 17:17:49 2012]  Script:  '/home/felipe/dev/bug.php'
/home/felipe/dev/php5_3/Zend/zend_vm_execute.h(20541) :  Freeing 0x02789DD0 (72 bytes), script=/home/felipe/dev/bug.php
/home/felipe/dev/php5_3/Zend/zend_API.c(961) : Actual location (location was relayed)
Last leak repeated 1 time
=== Total 2 memory leaks detected ===


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2012-05-23 11:36 UTC] cataphract@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: cataphract