Bug #72476 [Opn->Csd]: Memleak in jit_stack
| From: | laruence@php.net | Date: | Thu, 23 Jun 2016 06:07:49 +0000 |
| Subject: | Bug #72476 [Opn->Csd]: Memleak in jit_stack | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201808@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72476&edit=1
ID: 72476
Updated by: laruence@php.net
Reported by: laruence@php.net
Summary: Memleak in jit_stack
-Status: Open
+Status: Closed
Type: Bug
Package: PCRE related
PHP Version: 7.0.7
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=bd74e7d0133493ee4290857ac368f5fbdd278084
Log: Fixed bug #72476 (Memleak in jit_stack)
Previous Comments:
------------------------------------------------------------------------
[2016-06-23 06:05:33] laruence@php.net
Description:
------------
none
Test script:
---------------
<?php
preg_match("#test#", "");
Expected result:
----------------
non memleak
Actual result:
--------------
==9175== 32 bytes in 1 blocks are definitely lost in loss record 16 of 35
==9175== at 0x4C27A2E: malloc (vg_replace_malloc.c:270)
==9175== by 0x4D2200: sljit_allocate_stack (sljitUtils.c:236)
==9175== by 0x500FC6: pcre_jit_stack_alloc (pcre_jit_compile.c:10614)
==9175== by 0x502265: zm_activate_pcre (php_pcre.c:220)
==9175== by 0xA7D844: zend_activate_modules (zend_API.c:2543)
==9175== by 0x9DEF61: php_request_startup (main.c:1629)
==9175== by 0xB48677: main (cgi_main.c:2318)
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72476&edit=1