[tor-bugs] #31545 [Core Tor/Tor]: CID 1452819: nul-terminated string handling, possibly spurious

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 29 02:45:30 UTC 2019


#31545: CID 1452819: nul-terminated string handling, possibly spurious
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:  teor
     Type:  enhancement                          |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:  Tor:
                                                 |  0.4.2.x-final
Component:  Core Tor/Tor                         |        Version:  Tor:
                                                 |  unspecified
 Severity:  Normal                               |     Resolution:
 Keywords:  042-must, memory-safety?, easy,      |  Actual Points:
  intro, ipv6, logging, fast-fix                 |
Parent ID:                                       |         Points:  0.1
 Reviewer:                                       |        Sponsor:
                                                 |  Sponsor27-must
-------------------------------------------------+-------------------------
Changes (by teor):

 * status:  assigned => needs_review
 * type:  defect => enhancement


Comment:

 I rewrote describe.c to use strlcpy() and strlcat(), and check their
 return values.

 https://github.com/torproject/tor/pull/1270

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


More information about the tor-bugs mailing list