Skip to content

ms_defender: skip empty files from zip#12780

Merged
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
valentijnscholten:defender-empty-files-fix
Jul 18, 2025
Merged

ms_defender: skip empty files from zip#12780
mtesauro merged 1 commit into
DefectDojo:bugfixfrom
valentijnscholten:defender-empty-files-fix

Conversation

@valentijnscholten

Copy link
Copy Markdown
Member

Fixes #12767

Not sure if this was really a bug, but it seems like different zip file creators create different types of zip.
This time it seems that the zip contains some additional empty files with the same name as the folder that holds the true/real files.

This PR skips those and ass some more error handling for future non-default scenario's.

@dryrunsecurity

Copy link
Copy Markdown

DryRun Security

No security concerns detected in this pull request.


All finding details can be found in the DryRun Security Dashboard.

@Maffooch Maffooch requested review from blakeaowens and dogboat July 16, 2025 16:40

@mtesauro mtesauro left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved

@mtesauro mtesauro merged commit 0e99640 into DefectDojo:bugfix Jul 18, 2025
153 of 154 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants