Issue 18: Return value of flush not checked in body_filename(), Transaction.pm
http://code.google.com/p/smtpd/issues/detail?id=18
New issue report by jm.mikkelsen:
What steps will reproduce the problem?
1. Fill the partition containing the directory qpsmtpd uses for temporary
message body files.
2. Send a message using SMTP to qpsmtpd.
3. Receive zero length message.
What is the expected output? What do you see instead?
The message should either be completely sent, or a temporary failure
should be returned in response to the SMTP DATA command.
I saw messages being delivered with headers but no body. Not all nessages
affected were retried by the remote MTA, indicating that the DATA command
returned success to the remote MTA in at least some cases.
What version of the product are you using? On what operating system?
Qpsmtpd 0.32, FreeBSD 4.10-p4
Please provide any additional information below.
Inspecting the code, I see that the return value of the expression "$self->
{_body_file}->flush()" is not checked in body_filename(), file
Transaction.pm. If the flush fails, some or all message content will be
silently lost.
Issue attributes:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings