Explorar o código

sandbox: Permit stat() of DataDir/stats

This is a fix for another case of 12064 that alphawolf just spotted.

There's already an 0.2.5.5 changelog entry for this.
Nick Mathewson %!s(int64=11) %!d(string=hai) anos
pai
achega
bbb1ffe535
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/or/main.c

+ 1 - 0
src/or/main.c

@@ -2941,6 +2941,7 @@ sandbox_init_filter(void)
 
     sandbox_cfg_allow_stat_filename_array(&cfg,
         get_datadir_fname("keys"),
+        get_datadir_fname("stats"),
         get_datadir_fname2("stats", "dirreq-stats"),
         NULL, 0
     );