[tor-bugs] #19462 [Core Tor/Tor]: base*_encode/decode functions should clear any unused portion of their target buffer.

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 20 12:47:38 UTC 2016


#19462: base*_encode/decode functions should clear any unused portion of their
target buffer.
------------------------------+--------------------------
     Reporter:  nickm         |      Owner:
         Type:  enhancement   |     Status:  new
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  029-proposed
Actual Points:                |  Parent ID:
       Points:  .1            |   Reviewer:
      Sponsor:  SponsorU-can  |
------------------------------+--------------------------
 For safety, it's not great to leave uninitialized data in a buffer.

 Occasionally, this would pose a performance cost.  But I maintain that
 mostly it won't, and we can improve the callsites where it would.

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


More information about the tor-bugs mailing list