Ghidra is a software reverse engineering (SRE) framework
Corrected Find Checkouts help and incorrect regex in UserManager
ghidra188a19c81d4e7
diff --git a/Ghidra/Features/Base/certification.manifest b/Ghidra/Features/Base/certification.manifestindex 55fb461fc3..0ce83479fd 100644--- a/Ghidra/Features/Base/certification.manifest+++ b/Ghidra/Features/Base/certification.manifest@@ -843,7 +843,6 @@ src/main/java/ghidra/app/util/bin/format/package.html||GHIDRA||||END|src/main/java/ghidra/app/util/bin/format/pe/package.html||GHIDRA||||END|src/main/java/ghidra/app/util/bin/format/pe/resource/package.html||GHIDRA||||END|src/main/java/ghidra/app/util/bin/package.html||GHIDRA||||END|-src/main/java/ghidra/app/util/cparser/build.xml||GHIDRA||||END|src/main/java/ghidra/app/util/exporter/package.html||GHIDRA||||END|src/main/java/ghidra/app/util/importer/package.html||GHIDRA||||END|src/main/java/ghidra/app/util/opinion/package.html||GHIDRA||||END|diff --git a/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/CheckedOut.png b/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/CheckedOut.pngindex 4bc18c9f39..21e4a0db03 100644Binary files a/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/CheckedOut.png and b/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/CheckedOut.png differdiff --git a/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/FindMyCheckouts.png b/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/FindMyCheckouts.pngindex 09624be3a4..4ed7c2894f 100644Binary files a/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/FindMyCheckouts.png and b/Ghidra/Features/Base/src/main/help/help/topics/VersionControl/images/FindMyCheckouts.png differdiff --git a/Ghidra/Features/GhidraServer/src/main/java/ghidra/server/UserManager.java b/Ghidra/Features/GhidraServer/src/main/java/ghidra/server/UserManager.javaindex 15aaf9e0de..fefa4c0b5d 100644--- a/Ghidra/Features/GhidraServer/src/main/java/ghidra/server/UserManager.java+++ b/Ghidra/Features/GhidraServer/src/main/java/ghidra/server/UserManager.java@@ -735,13 +735,14 @@ public class UserManager {getDNLog().println(username + "; " + principal);}catch (IOException e) {+ // ignore}}/** Regex: matches if the entire string is alpha, digit, ".", "-", "_", fwd or back slash.*/- private static final Pattern VALID_USERNAME_REGEX = Pattern.compile("[a-zA-Z0-9.-_/\\\\]+");+ private static final Pattern VALID_USERNAME_REGEX = Pattern.compile("[a-zA-Z0-9.\\-_/\\\\]+");/*** Ensures a name only contains valid characters and meets length limitations.diff --git a/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/VersionControlSlowScreenShots.java b/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/VersionControlSlowScreenShots.javaindex 2dccf23f2c..e57b6dd6b5 100644--- a/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/VersionControlSlowScreenShots.java+++ b/Ghidra/Test/IntegrationTest/src/screen/java/help/screenshot/VersionControlSlowScreenShots.java@@ -15,7 +15,7 @@*/package help.screenshot;-import static org.junit.Assert.assertNotNull;+import static org.junit.Assert.*;import java.io.IOException;@@ -58,9 +58,9 @@ public class VersionControlSlowScreenShots extends GhidraScreenShotGenerator {public void tearDown() throws Exception {// super.tearDown(); don't do this; use our tool instead-- frontEnd.dispose();-+ if (frontEnd != null) {+ frontEnd.dispose();+ }showResults();}diff --git a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/server/remote/ServerTestUtil.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/server/remote/ServerTestUtil.javaindex 3343e43c0e..15774baf56 100644--- a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/server/remote/ServerTestUtil.java+++ b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/server/remote/ServerTestUtil.java@@ -117,7 +117,7 @@ public class ServerTestUtil {private static class ShutdownHook extends Thread {@Overridepublic void run() {- Msg.debug(ServerTestUtil.class, "\n\n\n\n\tSHUTDONW HOOK RUNNING");+ Msg.debug(ServerTestUtil.class, "\n\n\n\n\tSHUTDOWN HOOK RUNNING");disposeServer();}}