Bug #60377 [Opn->Asn]: ZipArchive::extractTo() memory leaks with invalid path using phar://

From: Date: Thu, 24 Nov 2011 21:52:35 +0000
Subject: Bug #60377 [Opn->Asn]: ZipArchive::extractTo() memory leaks with invalid path using phar://
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-165482@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60377&edit=1 ID: 60377 Updated by: felipe@php.net Reported by: felipe@php.net Summary: ZipArchive::extractTo() memory leaks with invalid path using phar:// -Status: Open +Status: Assigned Type: Bug Package: Zip Related PHP Version: trunk-SVN-2011-11-24 (SVN) -Assigned To: +Assigned To: pajoye Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-11-24 21:52:14] felipe@php.net Description: ------------ See below. Test script: --------------- <?php $x = new ZipArchive; $x->extractTo("phar:///usr/local/bin/phar.phar/a"); Actual result: -------------- $ sapi/cli/php ../bug.php [Thu Nov 24 19:50:30 2011] Script: '../bug.php' /home/felipe/dev/phptrunk/main/streams/streams.c(258) : Freeing 0x7FF3DEA323F8 (8 bytes), script=../bug.php [Thu Nov 24 19:50:30 2011] Script: '../bug.php' /home/felipe/dev/phptrunk/main/spprintf.c(236) : Freeing 0x7FF3DEA35440 (207 bytes), script=../bug.php === Total 2 memory leaks detected === ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60377&edit=1

« previous php.bugs (#165482) next »