[tor-bugs] #26521 [Core Tor/Tor]: Coverity issues for week 25: Coverity thinks some HS tests have memory leaks

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 27 08:11:46 UTC 2018


#26521: Coverity issues for week 25: Coverity thinks some HS tests have memory
leaks
------------------------------+------------------------------
     Reporter:  ahf           |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: unspecified
    Component:  Core Tor/Tor  |    Version:  Tor: unspecified
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+------------------------------
 The `hs_free_all()` function should free the `hs_service_t` instances in
 our tests, but it seems like Coverity doesn't detect this and claims that
 a memory leak might happen.

 Relevant CID's: 1437457, 1437455, 1437452, 1437446, 1437443, 1437435,
 1437432, 1437430, 1437428, and 1437426.

 CID: 1437442 is related to this issue (I think)

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


More information about the tor-bugs mailing list