mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Oct 19 13:27:24.391 [info] router_reload_networkstatus(): Skipping cached-status file with unexpected name "."
Oct 19 13:27:24.391 [info] router_reload_networkstatus(): Skipping cached-status file with unexpected name ".." svn:r5291
This commit is contained in:
@@ -101,6 +101,8 @@ router_reload_networkstatus(void)
|
||||
entries = tor_listdir(filename);
|
||||
SMARTLIST_FOREACH(entries, const char *, fn, {
|
||||
char buf[DIGEST_LEN];
|
||||
if (fn[0] == '.') /* skip . and .. */
|
||||
continue;
|
||||
if (strlen(fn) != HEX_DIGEST_LEN ||
|
||||
base16_decode(buf, sizeof(buf), fn, strlen(fn))) {
|
||||
log_fn(LOG_INFO,
|
||||
|
||||
Reference in New Issue
Block a user