mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-21 12:22:34 +08:00
GP-0 fix incorrect test for bad file path
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ public class LocalDirDebugInfoDProvider implements DebugFileStorage {
|
||||
|
||||
private File getBuildidDir(String buildId) throws IOException {
|
||||
File dir = new File(rootDir, buildId);
|
||||
if (rootDir.equals(dir.getParentFile())) {
|
||||
if (!rootDir.equals(dir.getParentFile())) {
|
||||
throw new IOException("Bad buildid value: " + buildId);
|
||||
}
|
||||
return dir;
|
||||
|
||||
Reference in New Issue
Block a user