Bug #12791: mcrypt doesnt work in 4.0.7 rc1 by this code

From: Date: Thu, 16 Aug 2001 13:00:45 +0000
Subject: Bug #12791: mcrypt doesnt work in 4.0.7 rc1 by this code
Groups: php.dev 
Request: Send a blank email to php-dev+get-63428@lists.php.net to get a copy of this message
From: alberty@neptunlabs.de Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-08-16 PHP Bug Type: mcrypt related Bug description: mcrypt doesnt work in 4.0.7 rc1 by this code Hi all, mcrypt doesnt work in 4.0.7 with the following code: the following code produce a <b>Warning</b>: Unknown list entry type in request shutdown (0) in ---<PHP>--- function cipherx_stream(){ $td = @mcrypt_module_open (MCRYPT_ARCFOUR , "", MCRYPT_MODE_STREAM, ""); } $xyz=cipherx_stream(); ---</PHP>--- if you use this, PHP crashes: ---<PHP>--- function cipherx_stream(){ $td = @mcrypt_module_open (MCRYPT_ARCFOUR , "", MCRYPT_MODE_STREAM, ""); if ($td) mcrypt_generic_end ($td); } $xyz=cipherx_stream(); ---</PHP>--- PHP 4.0.6 work fine with the first code, but it crashes also with the second :-( Regards, -- Steve -- Edit bug report at: http://bugs.php.net/?id=12791&edit=1

« previous php.dev (#63428) next »