|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71625 Crash in php7.dll
Submitted: 2016-02-18 13:58 UTC Modified: 2016-02-18 14:03 UTC
From: pavtov90 at gmail dot com Assigned:
Status: Closed Package: PHAR related
PHP Version: 7.0.3 OS: Windows 7 64bit
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: pavtov90 at gmail dot com
New email:
PHP Version: OS:


 [2016-02-18 13:58 UTC] pavtov90 at gmail dot com
When you call this code will immediately crash the server itself .

Test script:
$phar = new Phar("A:A:.phar");
$phar[hello_habr.txt] = '<? Hello Habr!?>';

or web

$phar = new Phar($_GET[a].".phar");
$phar[hello_habr.txt] = '<? Hello Habr!?>';



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-18 14:00 UTC] pavtov90 at gmail dot com
testing live version PHP Version. : 5.3.13 , 7.0.0, 7.0.3

Actual result: crash in php7.dll
 [2016-02-18 14:03 UTC] pavtov90 at gmail dot com
-Summary: 1 +Summary: Crash in php7.dll
 [2016-02-18 14:03 UTC] pavtov90 at gmail dot com
 [2016-02-18 18:34 UTC]
Automatic comment on behalf of ab
Log: Fixed bug #71625 Crash in php7.dll with bad phar filename
 [2016-02-18 18:34 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Feb 26 13:01:27 2020 UTC