[tor-bugs] #23223 [Core Tor/Tor]: test: Fix prop224 hs unit tests

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Aug 11 18:41:40 UTC 2017


#23223: test: Fix prop224 hs unit tests
------------------------------+--------------------------------
     Reporter:  dgoulet       |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  tor-test, tor-hs
Actual Points:                |  Parent ID:
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Two things right now on master. One test is failing on Windows:

 {{{
 hs_common/build_address: [forking]
   FAIL ../tor/src/test/test_hs_common.c:81: assert(path OP_EQ
 "/double/five/squared"): </double/five\squared> vs </double/five/squared>
 }}}

 The second thing is a memory leak:

 {{{
 hs_common/desc_responsible_hsdirs: [forking]
 =================================================================
 ==13053==ERROR: LeakSanitizer: detected memory leaks

 Direct leak of 6 byte(s) in 1 object(s) allocated from:
     #0 0x7f376cdaae80 in __interceptor_malloc (/usr/lib/x86_64-linux-
 gnu/libasan.so.3+0xc6e80)
     #1 0x7f376ac577c9 in __strdup (/lib/x86_64-linux-
 gnu/libc.so.6+0x8d7c9)
 }}}

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


More information about the tor-bugs mailing list