svn: /php/php-src/ branches/PHP_5_3/ext/openssl/tests/bug61124.phpt branches/PHP_5_4/ext/openssl/tests/bug61124.phpt
trunk/ext/openssl/tests/bug61124.phpt

From: Date: Sat, 25 Feb 2012 13:27:57 +0000
Subject: svn: /php/php-src/ branches/PHP_5_3/ext/openssl/tests/bug61124.phpt branches/PHP_5_4/ext/openssl/tests/bug61124.phpt
trunk/ext/openssl/tests/bug61124.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-67727@lists.php.net to get a copy of this message
odoucet Sat, 25 Feb 2012 13:27:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=323509 Log: test for bug #61124 Bug: https://bugs.php.net/61124 (Closed) Segmentation fault Changed paths: A php/php-src/branches/PHP_5_3/ext/openssl/tests/bug61124.phpt A php/php-src/branches/PHP_5_4/ext/openssl/tests/bug61124.phpt A php/php-src/trunk/ext/openssl/tests/bug61124.phpt Added: php/php-src/branches/PHP_5_3/ext/openssl/tests/bug61124.phpt =================================================================== --- php/php-src/branches/PHP_5_3/ext/openssl/tests/bug61124.phpt (rev 0) +++ php/php-src/branches/PHP_5_3/ext/openssl/tests/bug61124.phpt 2012-02-25 13:27:57 UTC (rev 323509) @@ -0,0 +1,12 @@ +--TEST-- +Bug #61124: Segmentation fault with openssl_decrypt +--SKIPIF-- +<?php +if (!extension_loaded("openssl")) die("skip"); +--FILE-- +<?php +var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc', 'pass', false, 'pass')); + +--EXPECTF-- +Warning: openssl_decrypt(): Failed to base64 decode the input in %s on line %s +bool(false) \ No newline at end of file Added: php/php-src/branches/PHP_5_4/ext/openssl/tests/bug61124.phpt =================================================================== --- php/php-src/branches/PHP_5_4/ext/openssl/tests/bug61124.phpt (rev 0) +++ php/php-src/branches/PHP_5_4/ext/openssl/tests/bug61124.phpt 2012-02-25 13:27:57 UTC (rev 323509) @@ -0,0 +1,12 @@ +--TEST-- +Bug #61124: Segmentation fault with openssl_decrypt +--SKIPIF-- +<?php +if (!extension_loaded("openssl")) die("skip"); +--FILE-- +<?php +var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc', 'pass', false, 'pass')); + +--EXPECTF-- +Warning: openssl_decrypt(): Failed to base64 decode the input in %s on line %s +bool(false) \ No newline at end of file Added: php/php-src/trunk/ext/openssl/tests/bug61124.phpt =================================================================== --- php/php-src/trunk/ext/openssl/tests/bug61124.phpt (rev 0) +++ php/php-src/trunk/ext/openssl/tests/bug61124.phpt 2012-02-25 13:27:57 UTC (rev 323509) @@ -0,0 +1,12 @@ +--TEST-- +Bug #61124: Segmentation fault with openssl_decrypt +--SKIPIF-- +<?php +if (!extension_loaded("openssl")) die("skip"); +--FILE-- +<?php +var_dump(openssl_decrypt('kzo w2RMExUTYQXW2Xzxmg==', 'aes-128-cbc', 'pass', false, 'pass')); + +--EXPECTF-- +Warning: openssl_decrypt(): Failed to base64 decode the input in %s on line %s +bool(false) \ No newline at end of file

« previous php.cvs (#67727) next »