Bug #13399: Segmentation fault (11) in apache when using mcrypt_generic
| From: | achapkis at dls dot net | Date: | Sat, 22 Sep 2001 18:39:16 +0000 |
| Subject: | Bug #13399: Segmentation fault (11) in apache when using mcrypt_generic | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66357@lists.php.net to get a copy of this message | ||
From: achapkis@dls.net
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