[tor-bugs] #22332 [Core Tor/Tor]: Fix function comments of tor_snprintf callers

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 23 08:48:13 UTC 2017


#22332: Fix function comments of tor_snprintf callers
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:
         Type:  defect        |     Status:  new
     Priority:  Low           |  Milestone:  Tor: 0.3.1.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Minor         |   Keywords:  doc
Actual Points:  0.1           |  Parent ID:
       Points:  0.1           |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 Some functions return the return value they get from tor_snprintf.
 But they document it poorly: some are wrong, and others don't say what
 they return. (But the few places we check the return values, we handle
 them correctly.)

 Please merge the branch fix-snprintf-users on my github.
 It's a comment-only change.

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


More information about the tor-bugs mailing list