Bug #12791 Updated: mcrypt doesnt work in 4.0.7 rc1 by this code
| From: | derick@php.net | Date: | Fri, 07 Sep 2001 09:36:47 +0000 |
| Subject: | Bug #12791 Updated: mcrypt doesnt work in 4.0.7 rc1 by this code | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65319@lists.php.net to get a copy of this message | ||
ID: 12791
Updated by: derick
Reported By: alberty@neptunlabs.de
Old Status: Analyzed
Status: Closed
Bug Type: mcrypt related
Operating System: i686-pc-linux-gnu
PHP Version: 4.0CVS-2001-08-16
New Comment:
The "<b>Warning</b>: Unknown list entry type in request shutdown (0) in" bug
has been fixed in CVS.
The segfault is a bug in libmcrypt, and has been reported to the author.
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-08-16 09:13:36] derick@php.net
I suppose this has something to do with the latest fixed to the ZTS mode of the module.
However, I've no time to check this out myself at the moment.
------------------------------------------------------------------------
[2001-08-16 09:00:45] alberty@neptunlabs.de
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 this bug report at http://bugs.php.net/?id=12791&edit=1