OwningControllerFD should be immutable, not OwningControllerProcess.

This is a mistake I made when marking options as immutable.

Fixes bug 32399.  Bug not in any released Tor.
This commit is contained in:
Nick Mathewson
2019-11-06 08:26:58 -05:00
parent 85e566a6a0
commit 1ee17dc07a
+2 -2
View 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"),