Tests: fix valgrind complaints regarding open file descriptors - #1554
Merged
Conversation
val-ms
force-pushed
the
clamd-clamav-unit-tests
branch
from
August 19, 2025 04:01
de25cef to
44b3a91
Compare
jhumlick
reviewed
Aug 19, 2025
jhumlick
previously approved these changes
Aug 19, 2025
val-ms
force-pushed
the
clamd-clamav-unit-tests
branch
from
August 19, 2025 23:06
44b3a91 to
0c45e5c
Compare
val-ms
commented
Aug 20, 2025
jhumlick
previously approved these changes
Sep 2, 2025
val-ms
force-pushed
the
clamd-clamav-unit-tests
branch
from
September 3, 2025 18:47
e4226d6 to
3d8b5a0
Compare
val-ms
force-pushed
the
clamd-clamav-unit-tests
branch
from
September 5, 2025 21:22
3d8b5a0 to
8822a8f
Compare
Fix valgrind issues regarding: - Unclosed log file descriptor in libclamav unit test program. Also need to disable debug logging for `iconv_cache_destroy()` for this or else it will try to use that file descriptor after `main()` exits. - Unclosed socket file descriptor in ClamDScan when doing `ping()` function. CLAM-2872
val-ms
force-pushed
the
clamd-clamav-unit-tests
branch
from
September 5, 2025 21:27
8822a8f to
149c721
Compare
jhumlick
approved these changes
Sep 8, 2025
jhumlick
pushed a commit
to jhumlick/clamav
that referenced
this pull request
Nov 4, 2025
Fix valgrind issues regarding: - Unclosed log file descriptor in libclamav unit test program. Also need to disable debug logging for `iconv_cache_destroy()` for this or else it will try to use that file descriptor after `main()` exits. - Unclosed socket file descriptor in ClamDScan when doing `ping()` function. CLAM-2872
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix valgrind issues regarding:
Unclosed log file descriptor in libclamav unit test program.
Also need to disable debug logging for
iconv_cache_destroy()for thisor else it will try to use that file descriptor after
main()exits.Unclosed socket file descriptor in ClamDScan when doing
ping()function.
CLAM-2872