Bug 875 - libspamc.c doesn't close its sockets
Summary: libspamc.c doesn't close its sockets
Status: RESOLVED FIXED
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: 2.41
Hardware: All Linux
: P2 critical
Target Milestone: ---
Assignee: SpamAssassin Developer Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-11 08:07 UTC by Michael Brown
Modified: 2002-09-14 00:25 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status
Patch to fix noted problem with closing sockets patch None Michael Brown [HasCLA]

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Brown 2002-09-11 08:07:57 UTC
I've noticed a serious problem with libspamc.so. The message_filter routine never 
closes the socket that's opened up to spamd, which causes fd leakage over time. 
Attached is a patch to fix that.
Comment 1 Michael Brown 2002-09-11 08:08:28 UTC
Created attachment 324 [details]
Patch to fix noted problem with closing sockets
Comment 2 Duncan Findlay 2002-09-14 08:25:53 UTC
Fixed in CVS! (Come on Justin, close your own bugs!)