From: [EMAIL PROTECTED] Operating system: i686-pc-linux-gnu PHP version: 4.0CVS-2001-11-21 PHP Bug Type: Unknown/Other Function Bug description: wrong init with mcrypt_generic_init crashes php
Hi, php crashes with libmcrypt (ive test it with 2.4.17) with the follow php script. The problem is the complete wrong initalising with mcrypt_generic_init. The mcrypt_generic_init results -3 and mcrypt_generic crashes. <?php $stream='Hello World!'; $td = @mcrypt_module_open (MCRYPT_ARCFOUR , '', MCRYPT_MODE_STREAM, ''); if ($td!=false){ $result=@mcrypt_generic_init ($td, false, false); if ($result!=-1){ $stream = mcrypt_generic ($td, $stream); mcrypt_generic_deinit ($td); } } echo $stream; ?> -- Edit bug report at: http://bugs.php.net/?id=14162&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]