From 8b5ac933880d1a9ae632fd9885b93f10239fb08a Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Tue, 31 Oct 2023 22:42:23 -0400 Subject: [PATCH 1/2] Update SECURITY.md --- SECURITY.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SECURITY.md b/SECURITY.md index 9aba97de3..f37df39fb 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -9,9 +9,9 @@ The following versions of ZeroTier One receive security updates | Version | Supported | | ------- | ------------------ | -| 1.10.x | :white_check_mark: | -| 1.8.x | :white_check_mark: | -| < 1.8.0 | :x: | +| 1.12.x | :white_check_mark: | +| 1.10.x | :white_check_mark: | +| < 1.10.0 | :x: | ## Reporting a Vulnerability From a477688e5147ee534efb27f02f21f5db75cd47e1 Mon Sep 17 00:00:00 2001 From: Brenton Bostick Date: Fri, 3 Nov 2023 09:56:40 -0400 Subject: [PATCH 2/2] Remove extra '/' On macOS, dump gives this output: % sudo zerotier-cli dump Writing dump to: /Users/brenton/Desktop//zerotier_dump.txt No reason for extra '/' in path --- one.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one.cpp b/one.cpp index 4c7dd9cc1..977da1f20 100644 --- a/one.cpp +++ b/one.cpp @@ -1210,7 +1210,7 @@ static int cli(int argc,char **argv) FSRefMakePath(&fsref, path, sizeof(path)) == noErr) { } else if (getenv("SUDO_USER")) { - sprintf((char*)path, "/Users/%s/Desktop/", getenv("SUDO_USER")); + sprintf((char*)path, "/Users/%s/Desktop", getenv("SUDO_USER")); } else { fprintf(stdout, "%s", dump.str().c_str()); return 0;