Prechádzať zdrojové kódy

Merge remote-tracking branch 'weasel/bug19557' into maint-0.2.8

Nick Mathewson 8 rokov pred
rodič
commit
8d25ab6347
2 zmenil súbory, kde vykonal 5 pridanie a 0 odobranie
  1. 4 0
      changes/bug19557
  2. 1 0
      src/or/main.c

+ 4 - 0
changes/bug19557

@@ -0,0 +1,4 @@
+  o Major bugfixes (sandboxing):
+    - Our sandboxing code would not allow us to write to stats/hidserv-stats,
+      causing tor to abort while trying to write stats.  This was previously
+      masked by bug 19556.  Fixes bug 19557.

+ 1 - 0
src/or/main.c

@@ -3530,6 +3530,7 @@ sandbox_init_filter(void)
     OPEN_DATADIR2_SUFFIX("stats", "exit-stats", ".tmp");
     OPEN_DATADIR2_SUFFIX("stats", "buffer-stats", ".tmp");
     OPEN_DATADIR2_SUFFIX("stats", "conn-stats", ".tmp");
+    OPEN_DATADIR2_SUFFIX("stats", "hidserv-stats", ".tmp");
 
     OPEN_DATADIR("approved-routers");
     OPEN_DATADIR_SUFFIX("fingerprint", ".tmp");