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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: laruence@php.net
New email:
PHP Version: OS:

 

 [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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jan 30 13:01:29 2025 UTC