Bug #63297 [PATCH]: Phar fails to write an openssl based signature
Edit report at https://bugs.php.net/bug.php?id=63297&edit=1
ID: 63297
Patch added by: ab@php.net
Reported by: ab@php.net
Summary: Phar fails to write an openssl based signature
Status: Open
Type: Bug
Package: PHAR related
Operating System: Windows
PHP Version: 5.3Git-2012-10-17 (Git)
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: bug63297
Revision: 1350465738
URL: https://bugs.php.net/patch-display.php?bug=63297&patch=bug63297&revision=1350465738
Previous Comments:
------------------------------------------------------------------------
[2012-10-17 09:20:10] ab@php.net
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 this bug report at https://bugs.php.net/bug.php?id=63297&edit=1
Thread (8 messages)