[tor-bugs] #28856 [Core Tor/Tor]: Discard strcmp_len()

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Dec 15 13:56:15 UTC 2018


#28856: Discard strcmp_len()
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:  nickm
         Type:  defect   |     Status:  assigned
     Priority:  Medium   |  Milestone:  Tor: 0.4.0.x-final
    Component:  Core     |    Version:  Tor: 0.3.4.9
  Tor/Tor                |   Keywords:  android startup performance
     Severity:  Normal   |  controller
Actual Points:           |  Parent ID:  #28481
       Points:           |   Reviewer:
      Sponsor:           |
  Sponsor8-can           |
-------------------------+-------------------------------------------------
 We have a strcmp_len() function that we use extensively in parsecommon.
 But it's just a messed-up version of strncmp.  We can get better
 performance here if we drop it.

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


More information about the tor-bugs mailing list