GP-1 Corrected Ghidra Server -ipAlt option parsing

This commit is contained in:
ghidra1
2026-05-12 08:40:23 -04:00
parent 3438507810
commit 505e632c7c
@@ -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);
}