Skip to content

2287 - fix ole2 vba temp file leak#894

Merged
val-ms merged 2 commits intoCisco-Talos:mainfrom
Emzi-Noxum:clam-2287
Apr 20, 2023
Merged

2287 - fix ole2 vba temp file leak#894
val-ms merged 2 commits intoCisco-Talos:mainfrom
Emzi-Noxum:clam-2287

Conversation

@Emzi-Noxum
Copy link
Copy Markdown
Contributor

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

Comment thread libclamav/scanners.c Outdated
Comment thread libclamav/scanners.c
Comment thread libclamav/scanners.c Outdated
Comment thread libclamav/scanners.c Outdated
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
@val-ms
Copy link
Copy Markdown
Contributor

val-ms commented Apr 20, 2023

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.

@val-ms val-ms merged commit 4b32eb4 into Cisco-Talos:main Apr 20, 2023
@val-ms val-ms 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.

2 participants