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

2287 - fix ole2 vba temp file leak #894

Merged
merged 2 commits into from Apr 20, 2023
Merged

Conversation

m-sola
Copy link
Contributor

@m-sola m-sola commented Apr 12, 2023

Previous behaviour would remove temp files by deleting the subdirectory This caused issues in cases (on Windows) where subdirectories aren't created due to performance concerns

This commit removes tempfiles individually if keeptemp is off

Original patch authored by Thomas Vy

libclamav/scanners.c Outdated Show resolved Hide resolved
libclamav/scanners.c Show resolved Hide resolved
libclamav/scanners.c Outdated Show resolved Hide resolved
libclamav/scanners.c Outdated Show resolved Hide resolved
Previous behaviour would remove temp files by deleting the subdirectory
This caused issues in cases (on Windows) where subdirectories aren't created
due to performance concerns

This commit removes tempfiles individually if keeptemp is off

Original patch authored by Thomas Vy
Running clang format on codebase
@micahsnyder
Copy link
Contributor

Looks great. Good idea @m-sola doing a full clang-format and doing as as separate commit. Looks like other format issues slipped throughout dev and this cleans them all up.

@micahsnyder micahsnyder merged commit 4b32eb4 into Cisco-Talos:main Apr 20, 2023
22 of 24 checks passed
@micahsnyder micahsnyder added the 🍒cherry-pick-candidate A PR that should be backported once approved. label Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒cherry-pick-candidate A PR that should be backported once approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants