diff --git a/BurnOutSharp/FileType/Executable.cs b/BurnOutSharp/FileType/Executable.cs index 06598f46..e1bd2b90 100644 --- a/BurnOutSharp/FileType/Executable.cs +++ b/BurnOutSharp/FileType/Executable.cs @@ -81,7 +81,7 @@ namespace BurnOutSharp.FileType } catch { - Utilities.AppendToDictionary(protections, file, "[File too large to be scanned]"); + Utilities.AppendToDictionary(protections, file, "[Out of memory attempting to open]"); return protections; } diff --git a/BurnOutSharp/Scanner.cs b/BurnOutSharp/Scanner.cs index 67c3b408..9815e6f9 100644 --- a/BurnOutSharp/Scanner.cs +++ b/BurnOutSharp/Scanner.cs @@ -266,7 +266,7 @@ namespace BurnOutSharp try { fs.Read(magic, 0, 16); - fs.Seek(-16, SeekOrigin.Current); + fs.Seek(0, SeekOrigin.Begin); } catch {