mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-08-01 05:29:20 +00:00
Fix potential off-by-one error
This commit is contained in:
@@ -64,7 +64,7 @@ namespace Test
|
||||
}
|
||||
|
||||
// If we have no arguments, show the help
|
||||
if (start >= args.Length - 1)
|
||||
if (start >= args.Length)
|
||||
{
|
||||
DisplayHelp();
|
||||
Console.WriteLine("Press enter to close the program...");
|
||||
|
||||
Reference in New Issue
Block a user