Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds logging and changes return status for bad temp dir: Issue #1028 #1037

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

Kiggins26
Copy link
Contributor

@Kiggins26 Kiggins26 commented Sep 27, 2023

Resolves: #1028

@Kiggins26 Kiggins26 marked this pull request as ready for review September 27, 2023 22:56
@micahsnyder micahsnyder self-assigned this Sep 28, 2023
Copy link
Contributor

@micahsnyder micahsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A little more detail explaining why we care of the directory is invalid/doesn't exist would be good. Otherwise this seems like the right fix to me.

clamd/clamd.c Outdated Show resolved Hide resolved
clamd/session.c Outdated Show resolved Hide resolved
@Kiggins26 Kiggins26 force-pushed the InvalidTempDirFix branch 2 times, most recently from afe9479 to 0c464fb Compare September 29, 2023 00:06
clamd/clamd.c Fixed Show resolved Hide resolved
clamd/session.c Fixed Show fixed Hide fixed
clamd/clamd.c Outdated Show resolved Hide resolved
clamd/clamd.c Fixed Show resolved Hide resolved
clamd/clamd.c Outdated Show resolved Hide resolved
clamd/clamd.c Outdated Show resolved Hide resolved
Copy link
Contributor

@micahsnyder micahsnyder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Thanks for the help @Kiggins26!

@micahsnyder micahsnyder merged commit 6f82ba4 into Cisco-Talos:main Oct 16, 2023
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ClamD fails silently if temporary folder does not exist
2 participants