PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault
| From: | juraj at bednar dot sk | Date: | Mon, 26 Feb 2001 23:10:00 +0000 |
| Subject: | PHP 4.0 Bug #9383 Updated: mcrypt 2.4.9 function causes Apache to segfault | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47590@lists.php.net to get a copy of this message | ||
ID: 9383
User Update by: juraj@bednar.sk
Status: Assigned
Bug Type: mcrypt related
Description: mcrypt 2.4.9 function causes Apache to segfault
OK, I've done some research. This code fails to run (segfaults with the same symptoms as PHP):
#include<mcrypt.h>
main() {
mcrypt_module_open("tripledes","/usr/local/lib/libmcrypt/algorithms","ecb","/usr/local/lib/libmcrypt/modes");
}
Anyway, what's interesting -> I have the module tripledes installed correctly (even in that
directory). But even the bundled ciphertest program does not find any working algorithms under
freebsd 4.2
Previous Comments:
---------------------------------------------------------------------------
[2001-02-21 18:09:03] derick@php.net
After some research, it might be a portabilty issue, as this same configuration works flawlessly on
linux (RedHAt 6.2)
I'll contact the author of libmcrypt
---------------------------------------------------------------------------
[2001-02-21 16:51:33] juraj@bednar.sk
2.4.7 does not work too.
---------------------------------------------------------------------------
[2001-02-21 16:40:57] juraj@bednar.sk
Does not work with 2.4.8, trying 2.4.7
---------------------------------------------------------------------------
[2001-02-21 16:26:03] juraj@bednar.sk
no problem. I'm just compiling it with 2.4.8, should I try only 2.4.7. Is 2.4.8 known to have
some problem?
---------------------------------------------------------------------------
[2001-02-21 16:16:51] derick@php.net
Can you check out if libmcrypt 2.4.4 or 2.4.7 works fine for you? Assigning it to me too.
---------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view the rest of the comments,
please view the bug report online.
Full Bug description available at: http://bugs.php.net/?id=9383