[tor-bugs] #18447 [Tor]: Possible double-free in test_options.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 18 13:25:30 UTC 2016


#18447: Possible double-free in test_options.c
------------------------------------------+--------------------------------
 Reporter:  stevenc99                     |          Owner:
     Type:  defect                        |         Status:  reopened
 Priority:  Low                           |      Milestone:  Tor:
Component:  Tor                           |  0.2.8.x-final
 Severity:  Normal                        |        Version:
 Keywords:  validate__transproxy FreeBSD  |     Resolution:
Parent ID:                                |  Actual Points:
 Reviewer:                                |         Points:
                                          |        Sponsor:  None
------------------------------------------+--------------------------------
Changes (by stevenc99):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Your commit for #18448 seems good to me, thanks.

 Thanks for this too;  although I don't see it yet in Git master?

 What we also could do here, is assert that a platform-specific
 TransProxyType test did run (in this block which is guarded by
 USE_TRANSPARENT).  That way if some new platform implements
 USE_TRANSPARENT, the test will deliberately fail until a TransProxyType
 test is written for that platform, so it isn't forgotten.  See
 0002-test_options.c-assert-that-TransProxyType-is-tested.patch.  Thanks
 again!

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


More information about the tor-bugs mailing list