Bug #71625 [Opn->Csd]: Crash in php7.dll
Edit report at https://bugs.php.net/bug.php?id=71625&edit=1
ID: 71625
Updated by: ab@php.net
Reported by: pavtov90 at gmail dot com
Summary: Crash in php7.dll
-Status: Open
+Status: Closed
Type: Bug
Package: PHAR related
Operating System: Windows 7 64bit
PHP Version: 7.0.3
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0445abd547f4d7c4c694e2458d0581033e37398b
Log: Fixed bug #71625 Crash in php7.dll with bad phar filename
Previous Comments:
------------------------------------------------------------------------
[2016-02-18 14:03:59] pavtov90 at gmail dot com
1
------------------------------------------------------------------------
[2016-02-18 14:00:42] 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 13:58:57] pavtov90 at gmail dot com
Description:
------------
When you call this code will immediately crash the server itself .
Test script:
---------------
<?php
$phar = new Phar("A:A:.phar");
$phar[hello_habr.txt] = '<? Hello Habr!?>';
?>
or web
<?php
phpinfo();
$phar = new Phar($_GET[a].".phar");
$phar[hello_habr.txt] = '<? Hello Habr!?>';
?>
http://localhost/1.php?a=A:A:
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71625&edit=1
Thread (4 messages)