mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-26 19:33:44 +08:00
GP-1 Corrected Ghidra Server -ipAlt option parsing
This commit is contained in:
@@ -600,7 +600,8 @@ public class GhidraServer extends UnicastRemoteObject implements GhidraServerHan
|
||||
hostname = s.substring(6);
|
||||
}
|
||||
for (String h : hostname.trim().split(";")) {
|
||||
if (hostname.length() == 0 || hostname.startsWith("-")) {
|
||||
h = h.trim();
|
||||
if (h.length() == 0 || h.startsWith("-")) {
|
||||
displayUsage("Missing -ipAlt altName");
|
||||
System.exit(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user