Having no reply and no traffic at all in devel mailinglist, I repost it
here:

Clamd leaks socket descriptors. Patch follows.


-- cut here --

--- clamav-20030403-orig/clamd/scanner.c        Fri Mar 21 15:17:05 2003
+++ clamav-20030403/clamd/scanner.c     Sun May 11 15:25:50 2003
@@ -262,6 +262,7 @@
     } else
        ret = cl_scandesc(acceptd, &virname, scanned, root, limits, 0);

+    close(acceptd);
     close(sockfd);

     if(ret == CL_VIRUS) {

-- cut here --


-- 

Best regards,
Nick
(GPG Key ID: 4396B2D0, fingerprint: 648E C3FE ACF6 A730 FF52 D717 776D 1CB0 4396 B2D0)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to