Bug #3790: crypt() crashes apache child

From: Date: Fri, 10 Mar 2000 12:25:04 +0000
Subject: Bug #3790: crypt() crashes apache child
Groups: php.dev 
Request: Send a blank email to php-dev+get-16626@lists.php.net to get a copy of this message
From: rafal@euromedia.pl Operating system: FreeBSD 3.4-STABLE PHP version: 3.0.15 PHP Bug Type: Reproduceable crash Bug description: crypt() crashes apache child <? $string = "bla bla bla"; echo $string ; echo "<br>\n"; $salt = '$1$IxhxBBg0$' ; echo $salt ; echo "<br>\n"; $crypted = crypt($string, $salt); echo $crypted; ?> And then server returns "Document contains no data", apache child which's serving this script segfaults, OS is FreeBSD 3.4-STABLE and webserver is apache+php+mod_ssl-1.3.12+3.0.15+2.6.2 ... tail of dmesg looks like that : pid 10827 (apache), uid 65534: exited on signal 11 pid 11214 (apache), uid 65534: exited on signal 11 pid 11215 (apache), uid 65534: exited on signal 11 The same was in earlier versions of php ... I used MD5 - 12 char salt string to use md5 encrypt ...

« previous php.dev (#16626) next »