Re: Bug #1122 Updated: wrong conversions when sending MIME messages
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Bug #1122 Updated: wrong conversions when sending MIME messages | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3957@lists.php.net to get a copy of this message | ||
> ID: 1122
> User Update by: Michael.Redinger@uibk.ac.at
> Old-Status: Closed
> Status: Open
> Old-Bug Type: Reproduceable crash
> Bug Type: Parser error
> Description: wrong conversions when sending MIME messages
>
> I do use the PHP program IMP (IMAP mail reader). Whenever I try to send an attachment, Apache
> crashes with the following message:
>
> [Sat Feb 6 19:06:51 1999] [notice] httpd: child pid 32082 exit signal Segmentation fault (11)
>
>
> The file upload works correctly. The seg fault happens when actually sending the message (this
> behaviour is not quite reproducable - it always happens for me, but others don't have this
> problem).
>
> After the crash, I do get a "document contains no data". The attachment that is sent
> anyways. But the conversions don't work - "\0" (one char) is translated into
> "\" and "0". Definitely wrong. The file gets bigger than it should be and is
> completely corrupted.
>
>
> Update:
> Fix below doesn't solve the problem.
> I could stop apache from crashing by removing the unnecessary lines from http.conf (described
> in another bug report)
> However, the problem with wrong binary conversions still remains.
Removing which line from httpd.conf? If you applied the patch to the
str_replace() function correctly, you should not be seeing crashes. If
you are, please get us a gdb backtrace (see the online FAQ). As for
attachments not being sent correctly. That sounds like an IMP problem.
-Rasmus
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net