mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
fixed filesystem traversal.
This commit is contained in:
@@ -685,6 +685,9 @@ namespace GARbro.GUI
|
||||
}
|
||||
catch (Exception X)
|
||||
{
|
||||
// if VFS.FullPath throws an exception, ViewModel becomes inconsistent at this point
|
||||
// and should be rebuilt
|
||||
ViewModel = CreateViewModel (VFS.Top.CurrentDirectory, true);
|
||||
SetStatusText (X.Message);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user