php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58332 Phar filename length
Submitted: 2008-09-04 07:11 UTC Modified: 2009-02-15 01:11 UTC
From: mmacia at gmail dot com Assigned:
Status: No Feedback Package: phar (PECL)
PHP Version: 5.2.5 OS: Win xp
Private report: No CVE-ID: None
 [2008-09-04 07:11 UTC] mmacia at gmail dot com
Description:
------------
I have a phar with name CloseInvoices1.phar. When I request it with an Ajax call, cause a segfault on apache server.

I try to rename the phar to a shorter name and magically works.

I see the source code and seems that you handle filenames with exactly 14 chars in an special way. This is a bug or a feature?


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-09-08 08:16 UTC] steph dot fox at virgin dot net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PECL.


Hi,

We're missing some information here.

1) Which version of Phar are you using?
2) If version 2.0.0RC1, do you have a short reproducing script we can use?
3) If an earlier version, does the behaviour still occur when using the current package?
 [2008-09-08 21:25 UTC] greg at chiaraquartet dot net
other missing information

1) what format is CloseInvoices1.phar?  phar/tar/zip?
2) what is the stub?
3) can you provide a link to CloseInvoices1.phar so we can verify the bug (cannot reproduce with a random phar here)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC