[tor-bugs] #19947 [Core Tor/Tor]: NULL %s in fmt string (dir_server_new() - routerlist.c)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Aug 20 06:26:35 UTC 2016
#19947: NULL %s in fmt string (dir_server_new() - routerlist.c)
------------------------------+-----------------
Reporter: rubiate | Owner:
Type: defect | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
------------------------------+-----------------
in src/or/routerlist.c:4545-4550 `hostname` passed to tor_asprintf() can
be NULL such as when dir_server_new() is called from
fallback_dir_server_new()
Found this because recent OpenBSD -current whinges about it in syslog:
tor: vfprintf %s NULL in "directory server at %s:%d"
last message repeated 88 times
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19947>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list