mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
#296, fix crash due to missing string length checking
This commit is contained in:
parent
97e68e11b7
commit
e53c824398
1 changed files with 1 additions and 1 deletions
|
@ -680,7 +680,7 @@ namespace PersistentWindows.SystrayShell
|
|||
{
|
||||
commandline = line.Substring(14);
|
||||
}
|
||||
else
|
||||
else if (line.Length > 14)
|
||||
{
|
||||
commandline += line.Substring(14);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue