[tor-bugs] #6877 [Tor]: Finally replace all char[] buffers with uint8_t[] buffers

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Oct 8 22:17:58 UTC 2013


#6877: Finally replace all char[] buffers with uint8_t[] buffers
------------------------+--------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  needs_review
     Priority:  major   |  Milestone:  Tor: 0.2.5.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:  tor-client
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by unixninja92):

 Replying to [comment:7 nickm]:
 >Wow, thanks!
 :) I had some free time on my hands.
 > baf7eb6762befb40e86fdc0d337408329b031537:
 >   * crypto_add_spaces_to_fp and crypto_pk_get_fingerprint probably
 should still use char *, not uint8_t, since it's working on human-readable
 strings.

 I've just pushed a commit where I changed crypto_add_spaces_to_fp and
 crypto_pk_get_fingerprint back to char*.

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


More information about the tor-bugs mailing list