https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8538
Bug ID: 8538
Summary: Race condition in Mail::SpamAssassin::Client _filter()
Product: Spamassassin
Version: 4.0.2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: spamc/spamd
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: Undefined
Created attachment 6240
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6240&action=edit
End _filter() requests after Content-length bytes
Mail::SpamAssassin::Client's _filter() sends an extra CRLF after the end of the
message. That creates a race condition with an error if the two bytes arrive
after spamd has read Content-length bytes. This has been seen as intermittent
test failures on some CPAN testers under heavy load in the only place
SpamAssassin code calls this, t/spamd_client.t. It potentially can also occur
in third-party users of Client.pm such as MIMEDefang's md_spamc_check() and
Mail-Milter-Authentication-Extra.
The attached patch makes _filter() do the same as spamc.
--
You are receiving this mail because:
You are the assignee for the bug.