From: Derick Rethans Date: Tue, 1 May 2007 16:04:16 +0000 (+0000) Subject: - Added test case for bug #41252. X-Git-Tag: RELEASE_1_2_0~189 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9d94b6cf07757eff0481121009695d9a3a9b9b2a;p=php - Added test case for bug #41252. --- diff --git a/ext/mcrypt/tests/bug41252.phpt b/ext/mcrypt/tests/bug41252.phpt new file mode 100644 index 0000000000..481fc54984 --- /dev/null +++ b/ext/mcrypt/tests/bug41252.phpt @@ -0,0 +1,13 @@ +--TEST-- +Bug #41252 (Calling mcrypt_generic without first calling mcrypt_generic_init crashes) +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: mcrypt_generic(): Operation disallowed prior to mcrypt_generic_init(). in %sbug41252.php on line 3 +I'm alive!