https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8582
Bug ID: 8582
Summary: spamd: a request that ends in the child timeout keeps
its message in memory and leaves a temporary file
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 6305
--> https://bz.apache.org/SpamAssassin/attachment.cgi?id=6305&action=edit
patch to finish the message objects of a spamd request that ends in a die
When spamd's child timeout ends a request after the message has been read, the
die skips the finish() calls at the end of check() and dotell(). This results
in memory not being freed when the child is re-used for a new scan, and
temporary files being kept after spamd is stopped. A sender has no way to make
this happen that we know of.
The attached patch has the request handler call finish() on the PerMsgStatus
and the Message after a die in check() or dotell().
--
You are receiving this mail because:
You are the assignee for the bug.