[tor-bugs] #25150 [Core Tor/Tor]: Avoid malloc/free on each server-side ntor handshake

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Feb 5 16:52:21 UTC 2018


#25150: Avoid malloc/free on each server-side ntor handshake
------------------------------+-----------------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  enhancement   |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  c99 malloc performance ntor
Actual Points:                |  Parent ID:  #23777
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------------------------------
 Now that we require c99, we can use variable-length array here instead of
 a malloc/free pair.

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


More information about the tor-bugs mailing list