|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-02-20 08:53 UTC] requinix@php.net
-Status: Open
+Status: Duplicate
[2016-02-20 08:53 UTC] requinix@php.net
[2016-02-20 09:01 UTC] pavtov90 at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
Description: ------------ When you call this code will immediately crash the server itself . Test script: --------------- ---------------------------- 1 ---------------------------- <?php $tarphar = new PharData('E:E:.zip'); $tarphar[hello.txt] = '<? With love Antichat!?>'; ?> ---------------------------- 2 ---------------------------- <?php $tarphar = new PharData('E:.a'); $tarphar[hello.txt] = '<? With love Antichat!?>'; ?> ---------------------------- 3 ---------------------------- <?php $tarphar = new PharData('E:.phar); $tarphar[hello.txt] = '<? With love Antichat!?>'; ?> Expected result: ---------------- 1)Crash 2)Crash 3)Error scripts(beacouse used .phar filename) testing live version PHP Version. : 5.3.13 , 7.0.3