[tor-bugs] #25627 [Core Tor/Torsocks]: tsocks_gethostbyaddr_r scribbles garbage over data->hostname and then relies on it

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 26 17:48:37 UTC 2018


#25627: tsocks_gethostbyaddr_r scribbles garbage over data->hostname and then
relies on it
-------------------------------+-------------------------
 Reporter:  exarkun            |          Owner:  dgoulet
     Type:  defect             |         Status:  new
 Priority:  Medium             |      Milestone:
Component:  Core Tor/Torsocks  |        Version:
 Severity:  Blocker            |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+-------------------------

Comment (by exarkun):

 I left one line out (and don't have description edit permissions I guess).
 In the last code snippet, `he->h_name` is an alias for `data->hostname`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25627#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list