php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3790 crypt() crashes apache child
Submitted: 2000-03-10 07:25 UTC Modified: 2000-03-10 09:47 UTC
From: rafal at euromedia dot pl Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.15 OS: FreeBSD 3.4-STABLE
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: rafal at euromedia dot pl
New email:
PHP Version: OS:

 

 [2000-03-10 07:25 UTC] rafal at euromedia dot pl
<?
$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 ...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-10 09:47 UTC] rafal at euromedia dot pl
it's corrected in new 4.x beta releases and current cvs snapshots 3.x and 4.x
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 15:01:31 2024 UTC