[tor-bugs] #22417 [Core Tor/Tor]: crash: double free or corruption (fasttop):

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun May 28 08:41:48 UTC 2017


#22417: crash: double free or corruption (fasttop):
-------------------------------------------------+-------------------------
 Reporter:  toralf                               |          Owner:
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  High                                 |      Milestone:  Tor:
                                                 |  0.3.1.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  0.3.1.2-alpha
 Severity:  Normal                               |     Resolution:
 Keywords:  tor-relay regression torrc reload    |  Actual Points:
  crash                                          |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by Jigsaw52):

 Assigning *next to *next is a no-op, so the code I wrote does the same as
 the version with the if.
 However, the version with the if is indeed easier to read. I've changed it
 on my branch.

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


More information about the tor-bugs mailing list