From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     mcrypt related
Bug description:  Segmentation fault (11) in apache when using mcrypt_generic

I just upgraded PHP 4.0.3pl1 to PHP 4.0.6 and I keep getting Segmentation
fault (11) in function mcrypt_generic.
Yesterday I downloaded new libmcrypt v. 2.4.16b and recompiled everything,
still get this error. It used to worked before with this script:

$td = mcrypt_module_open MCRYPT_TripleDES, "",MCRYPT_MODE_ECB, "");
$iv = mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);
mcrypt_generic_init ($td, $keystr, $iv);
$enc_pas= mcrypt_generic ($td, $ascii_pass);
mcrypt_generic_end ($td);

Here's my phpinfo():
http://yakov.dls.net/~achapkis/test.php3

-- 
Edit bug report at: http://bugs.php.net/?id=13399&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]

Reply via email to