Bug #1122 Updated: wrong conversions when sending MIME messages
| From: | Bug Database | Date: | Tue, 09 Feb 1999 18:27:49 +0000 |
| Subject: | Bug #1122 Updated: wrong conversions when sending MIME messages | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-4016@lists.php.net to get a copy of this message | ||
ID: 1122
User Update by: Michael.Redinger@uibk.ac.at
Old-Status: Open
Status: Closed
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.
Updated:
As suggested in the comments, disabling magic quotes did the job.
Full Bug description available at: http://ca.php.net/bugs.php3?id=1122
--
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