php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63389 Missing context check on libxml_set_streams_context() causes memleak
Submitted: 2012-10-29 21:32 UTC Modified: -
From: felipe@php.net Assigned:
Status: Closed Package: XML related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2012-10-29 21:32 UTC] felipe@php.net
Description:
------------
See below.

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

libxml_set_streams_context('a');

Actual result:
--------------
[Mon Oct 29 19:30:43 2012]  Script:  '/home/felipe/dev/bug.php'
/home/felipe/dev/php-src/Zend/zend_vm_execute.h(2633) :  Freeing 0x7F9E3F920578 (2 bytes), script=/home/felipe/dev/bug.php
/home/felipe/dev/php-src/Zend/zend_variables.c(123) : Actual location (location was relayed)
=== Total 1 memory leaks detected ===


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-30 03:08 UTC] laruence@php.net
-Status: Open +Status: Closed
 [2012-10-30 03:08 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2f1c4064f8fd971166df3099729e74e0ecb5d6bc
Log: Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak)
 [2012-10-30 03:10 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2f1c4064f8fd971166df3099729e74e0ecb5d6bc
Log: Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak)
 [2012-10-30 03:11 UTC] laruence@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src.git;a=commit;h=2f1c4064f8fd971166df3099729e74e0ecb5d6bc
Log: Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak)
 [2014-10-07 23:21 UTC] stas@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=2f1c4064f8fd971166df3099729e74e0ecb5d6bc
Log: Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak)
 [2014-10-07 23:32 UTC] stas@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=2f1c4064f8fd971166df3099729e74e0ecb5d6bc
Log: Fixed bug #63389 (Missing context check on libxml_set_streams_context() causes memleak)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 13:01:29 2024 UTC