#27062 [Fbk->Csd]: mdecrypt_generic() doesn't decrypt anything

From: Date: Thu, 29 Jan 2004 18:59:33 +0000
Subject: #27062 [Fbk->Csd]: mdecrypt_generic() doesn't decrypt anything
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-54143@lists.php.net to get a copy of this message
 ID:               27062
 User updated by:  yu at csh dot dp dot ua
 Reported By:      yu at csh dot dp dot ua
-Status:           Feedback
+Status:           Closed
 Bug Type:         mcrypt related
-Operating System: Windows 2000
+Operating System: Windows XXXX only
 PHP Version:      4.3.4
 Assigned To:      derick
 New Comment:

Problem have been localized - this libmcrypt.dll v.2.5.7, downloaded
from http://ftp.emini.dk/pub/php/win32/mcrypt/. This
DLL is damaged and
need recompilation. Additionally it makes error "Memory can't be read
at adress ..." and server closes connection on some functions. 

Usage the libmcrypt.dll v.2.5.5 from
http://ftp.proventum.net/pub/php/win32/misc/mcrypt/

decides this problem. But this is older version - it doesn't have
mcrypt_generic_deinit() function (I don't know how
mcrypt_generic_init() will work without mcrypt_generic_deinit()).
Additionally mcrypt_list_algorithms() has little error, BUT old-type
encryption functions (mcrypt_encrypt() and mcrypt_decrypt()) work
well!!!
 
I am not C-programmer to recompile source and can't to find into
Internet correct libmcrypt.dll v.2.5.7.


Previous Comments:
------------------------------------------------------------------------

[2004-01-28 06:51:23] sniper@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Works fine with latest CVS snapshot on windows for me..
Maybe this was (s)rand() related? (there was some stuff fixed relating
to it)


------------------------------------------------------------------------

[2004-01-27 16:32:11] derick@php.net

Must be a library issue then, it's not thread safe AFAIK.

------------------------------------------------------------------------

[2004-01-27 16:26:23] sniper@php.net

CLI != ZTS enabled webserver, e.g. Apache2 with worker MPM..


------------------------------------------------------------------------

[2004-01-27 16:16:17] derick@php.net

But there is no ZTS specific code at all; and I just tested, it works
fine on Linux with ZTS enabled.

------------------------------------------------------------------------

[2004-01-27 15:56:23] sniper@php.net

It's ZTS issue, I bet. Try a bit harder, Derick..


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/27062

-- 
Edit this bug report at http://bugs.php.net/?id=27062&edit=1


Thread (15 messages)

« previous php.bugs (#54143) next »