ID:               27062
 Updated by:       [EMAIL PROTECTED]
 Reported By:      yu at csh dot dp dot ua
-Status:           Closed
+Status:           Assigned
 Bug Type:         mcrypt related
 Operating System: Windows XXXX only
 PHP Version:      4.3.4
-Assigned To:      derick
+Assigned To:      edink
 New Comment:

Bug for you Edin :)

To reporter:
DON'T USE THE OLD FUNCTIONS, just don't use _deinit and you'll be fine.


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

[2004-01-29 13:59:32] yu at csh dot dp dot ua

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.

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

[2004-01-28 06:51:23] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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

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

[2004-01-27 16:26:23] [EMAIL PROTECTED]

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


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

[2004-01-27 16:16:17] [EMAIL PROTECTED]

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

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

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

Reply via email to