php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: felipe@php.net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-23 11:36 UTC] cataphract@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-05-23 11:36 UTC] cataphract@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cataphract
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 06:01:30 2024 UTC