php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71636 Crash in php7.dll
Submitted: 2016-02-20 08:47 UTC Modified: 2016-02-20 08:53 UTC
From: pavtov90 at gmail dot com Assigned:
Status: Duplicate Package: PHAR related
PHP Version: 7.0.3 OS: Windows 7 64bit
Private report: No CVE-ID: None
 [2016-02-20 08:47 UTC] pavtov90 at gmail dot com
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-20 08:53 UTC] requinix@php.net
-Status: Open +Status: Duplicate
 [2016-02-20 08:53 UTC] requinix@php.net
This is identical to your other bug report.
 [2016-02-20 09:01 UTC] pavtov90 at gmail dot com
Ok. I Think is Another Class new report. Ok from the history
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 06:01:30 2024 UTC