[tor-bugs] #22490 [Core Tor/Tor]: Stop using GeoIP country after buf has gone out of scope

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 5 00:00:06 UTC 2017


#22490: Stop using GeoIP country after buf has gone out of scope
---------------------------+------------------------------------
 Reporter:  teor           |          Owner:
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  Tor: 0.3.1.x-final
Component:  Core Tor/Tor   |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:  memory-safety  |  Actual Points:
Parent ID:                 |         Points:  0.2
 Reviewer:                 |        Sponsor:
---------------------------+------------------------------------

Comment (by teor):

 (Discovered using clang-5.0's AddressSanitizer stack-use-after-scope.)

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


More information about the tor-bugs mailing list