php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72911 Memleak in zend_binary_assign_op_obj_helper
Submitted: 2016-08-21 09:36 UTC Modified: 2016-08-21 09:44 UTC
From: laruence@php.net Assigned: laruence (profile)
Status: Closed Package: *General Issues
PHP Version: 7.0.10 OS:
Private report: No CVE-ID: None
 [2016-08-21 09:36 UTC] laruence@php.net
Description:
------------
none

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

$a = 0;

$b = $a->b->i -= 0;

var_dump($b);

?>

Expected result:
----------------
none memleak

Actual result:
--------------
[Sun Aug 21 17:33:47 2016]  Script:  '/tmp/1.php'
/home/huixinchen/opensource/php-7.0/Zend/zend_objects.c(162) :  Freeing 0x7FFFF0880050 (40 bytes), script=/tmp/1.php
=== Total 1 memory leaks detected ===

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-21 09:44 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 09:01:32 2024 UTC