From: ab
Operating system: Windows
PHP version: 5.3Git-2012-10-17 (Git)
Package: PHAR related
Bug Type: Bug
Bug description:Phar fails to write an openssl based signature
Description:
------------
The test below fails on Windows
Test script:
---------------
ext\phar\tests\tar\phar_setsignaturealgo2.phpt
Expected result:
----------------
test Pass
Actual result:
--------------
There are several popups with the following messages when runnign on a
debug build:
Run-Time Check Failure #2 - Stack around the variable 'data_len' was
corrupted
Run-Time Check Failure #2 - Stack around the variable 'md_ctx' was
corrupted
After the test has run, it's marked as passed though.
On a release build here's the diff
031+ phar error: unable to write signature to tar-based phar: unable to
write phar
"C:/php-sdk/php-test-pack-5.3-nts-windows-vc9-x86-r5d9fb8f/ext/phar/tests/tar/phar_setsignaturealgo2.phar.tar"
with requested openssl signature===DONE===
031- array(2) {
032- ["hash"]=>
033- string(%d) "%s"
034- ["hash_type"]=>
035- string(7) "OpenSSL"
036- }
037- ===DONE===
--
Edit bug report at https://bugs.php.net/bug.php?id=63297&edit=1
--
Try a snapshot (PHP 5.4):
https://bugs.php.net/fix.php?id=63297&r=trysnapshot54
Try a snapshot (PHP 5.3):
https://bugs.php.net/fix.php?id=63297&r=trysnapshot53
Try a snapshot (trunk):
https://bugs.php.net/fix.php?id=63297&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=63297&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=63297&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=63297&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=63297&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=63297&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=63297&r=support
Expected behavior: https://bugs.php.net/fix.php?id=63297&r=notwrong
Not enough info:
https://bugs.php.net/fix.php?id=63297&r=notenoughinfo
Submitted twice:
https://bugs.php.net/fix.php?id=63297&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=63297&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63297&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=63297&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=63297&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=63297&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63297&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=63297&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=63297&r=mysqlcfg