Bug #63389 [Opn->Csd]: Missing context check on libxml_set_streams_context() causes memleak

From: Date: Tue, 30 Oct 2012 03:08:52 +0000
Subject: Bug #63389 [Opn->Csd]: Missing context check on libxml_set_streams_context() causes memleak
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174414@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63389&edit=1 ID: 63389 Updated by: laruence@php.net Reported by: felipe@php.net Summary: Missing context check on libxml_set_streams_context() causes memleak -Status: Open +Status: Closed Type: Bug Package: XML related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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) Previous Comments: ------------------------------------------------------------------------ [2012-10-29 21:32:28] 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 === ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63389&edit=1

« previous php.bugs (#174414) next »