clamav/clamd
John Humlick f039849dc1
clamd: Fix valgrind test failure (#1570)
ClamD opens at least one socket that is then passed to server-th as
newly allocated memory. server-th then appends to this structure with
additional FDs as it handles connections. While cleaning up during
server shutdown, server-th loops through all FDs and closes them,
followed by clamd closing the FDs it opened, which have now been
previously closed by server-th. 

This fix skips closing the FDs in server-th that were opened in clamd.

CLAM-2850
2025-09-09 13:07:34 -04:00
..
clamav-daemon.service.in clamav.net URL update for new docs (2) 2021-07-17 16:21:47 -07:00
clamav-daemon.socket.in clamav.net URL update for new docs (2) 2021-07-17 16:21:47 -07:00
clamd.c clamd: use setrlimit() also when using GNU libc 2025-08-29 21:31:35 -04:00
clamd_others.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
clamd_others.h Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
CMakeLists.txt Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
Doxyfile Finish off documentation config files. 2012-05-15 12:13:04 -04:00
localserver.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
localserver.h Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
scanner.c Swap clean cache from MD5 to SHA2-256 2025-08-14 21:23:30 -04:00
scanner.h Swap clean cache from MD5 to SHA2-256 2025-08-14 21:23:30 -04:00
server-th.c clamd: Fix valgrind test failure (#1570) 2025-09-09 13:07:34 -04:00
server.h Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
session.c clamd: Add options to toggle SHUTDOWN, RELOAD, STATS and VERSION (#1502) 2025-06-04 10:47:57 -04:00
session.h Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
shared.h Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
tcpserver.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
tcpserver.h Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
thrmgr.c Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00
thrmgr.h Bump copyright dates for 2025 2025-02-14 10:24:30 -05:00