[tor-bugs] #29599 [Core Tor/Tor]: Test failure due to missing sr_state_free[_all]() in shared-random unit tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 27 04:19:36 UTC 2019


#29599: Test failure due to missing sr_state_free[_all]() in shared-random unit
tests
-------------------------+-------------------------------------------------
     Reporter:  teor     |      Owner:  teor
         Type:  defect   |     Status:  assigned
     Priority:  Very     |  Milestone:  Tor: 0.4.1.x-final
  High                   |
    Component:  Core     |    Version:  Tor: 0.2.9.1-alpha
  Tor/Tor                |   Keywords:  tor-ci, tor-test, memory-leak,
     Severity:  Major    |  external-change, 029-backport, 033-backport,
                         |  034-backport, 035-backport, 040-backport
Actual Points:           |  Parent ID:
       Points:  0.5      |   Reviewer:
      Sponsor:           |
-------------------------+-------------------------------------------------
 It looks like Travis recently upgraded to a clang with a (better)
 LeakSanitizer.

 The following tests have memory leaks:
 * shared-random/vote
 * shared-random/sr_compute_srv
 * shared-random/state_transition

 They are missing a call to sr_state_free() in 0.2.9 and later.
 But it's spelt sr_state_free_all() in 0.3.3 and later.

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


More information about the tor-bugs mailing list