mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 09:05:31 +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 {
|
private File getBuildidDir(String buildId) throws IOException {
|
||||||
File dir = new File(rootDir, buildId);
|
File dir = new File(rootDir, buildId);
|
||||||
if (rootDir.equals(dir.getParentFile())) {
|
if (!rootDir.equals(dir.getParentFile())) {
|
||||||
throw new IOException("Bad buildid value: " + buildId);
|
throw new IOException("Bad buildid value: " + buildId);
|
||||||
}
|
}
|
||||||
return dir;
|
return dir;
|
||||||
|
|||||||
Reference in New Issue
Block a user