]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
OwningControllerFD should be immutable, not OwningControllerProcess.
authorNick Mathewson <nickm@torproject.org>
Wed, 6 Nov 2019 13:26:58 +0000 (08:26 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 6 Nov 2019 13:37:32 +0000 (08:37 -0500)
This is a mistake I made when marking options as immutable.

Fixes bug 32399.  Bug not in any released Tor.

src/app/config/config.c

index 4a308a808f182e1e66fb4ceecee0dd083ddf0ce6..e223011fcf68243dea8b7ef073d97f1495212c36 100644 (file)
@@ -711,9 +711,9 @@ static const config_var_t option_vars_[] = {
   VAR_NODUMP("__HashedControlSessionPassword", LINELIST,
              HashedControlSessionPassword,
       NULL),
-  VAR_NODUMP_IMMUTABLE("__OwningControllerProcess",STRING,
+  VAR_NODUMP("__OwningControllerProcess",STRING,
                        OwningControllerProcess, NULL),
-  VAR_NODUMP("__OwningControllerFD", UINT64, OwningControllerFD,
+  VAR_NODUMP_IMMUTABLE("__OwningControllerFD", UINT64, OwningControllerFD,
              UINT64_MAX_STRING),
   V(MinUptimeHidServDirectoryV2, INTERVAL, "96 hours"),
   V(TestingServerDownloadInitialDelay, CSV_INTERVAL, "0"),