php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72476 Memleak in jit_stack
Submitted: 2016-06-23 06:05 UTC Modified: -
From: laruence@php.net Assigned:
Status: Closed Package: PCRE related
PHP Version: 7.0.7 OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: laruence@php.net
New email:
PHP Version: OS:

 

 [2016-06-23 06:05 UTC] 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)

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-23 06:07 UTC] laruence@php.net
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)
 [2016-06-23 06:07 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2016-07-06 05:47 UTC] davey@php.net
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)
 [2016-07-20 11:30 UTC] davey@php.net
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)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 05:01:27 2024 UTC