[tor-bugs] #15202 [Tor]: Second argument to strlcpy must always be NUL-terminated.

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Mar 9 17:49:57 UTC 2015


#15202: Second argument to strlcpy must always be NUL-terminated.
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:
         Type:  defect   |     Status:  needs_review
     Priority:           |  Milestone:  Tor: 0.2.6.x-final
  critical               |    Version:
    Component:  Tor      |   Keywords:  023-backport 024-backport
   Resolution:           |  025-backport
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by ioerror):

 I looked at
 https://gitweb.torproject.org/nickm/tor.git/diff/?h=bug15202_023 and it
 looks reasonable. As I said on irc, I'm surprised the defensive stuff at
 the top didn't consider this issue.

 Is that the only problematic use of strlcpy/strlcat?

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


More information about the tor-bugs mailing list