mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-09 02:16:46 +00:00
Fix oversight where Scanner.cs won't scan for files if an archive extracts to one or more directories (#397)
* Scanner.cs won't scan for files if an archive extracts to a directory * use fsentries
This commit is contained in:
committed by
GitHub
parent
05bddd6005
commit
c2368661cb
@@ -378,7 +378,7 @@ namespace BinaryObjectScanner
|
||||
_ = extractable.Extract(tempPath, _includeDebug);
|
||||
|
||||
// Check if any files extracted
|
||||
if (IOExtensions.SafeGetFiles(tempPath).Length > 0)
|
||||
if (IOExtensions.SafeGetFileSystemEntries(tempPath).Length > 0)
|
||||
{
|
||||
// Scan the output path
|
||||
var subProtections = GetProtectionsImpl(tempPath, depth + 1);
|
||||
|
||||
Reference in New Issue
Block a user