mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-04-25 17:25:17 +02:00
GP-0 fix incorrect test for bad file path
This commit is contained in:
@@ -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