[tor-bugs] #29805 [Core Tor/Tor]: 41 coverity defects on prob_distr.c

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 19 21:46:21 UTC 2019


#29805: 41 coverity defects on prob_distr.c
---------------------------------+------------------------------------
 Reporter:  asn                  |          Owner:  (none)
     Type:  defect               |         Status:  new
 Priority:  Medium               |      Milestone:  Tor: 0.4.1.x-final
Component:  Core Tor/Tor         |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:  prob-distr coverity  |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------------

Comment (by riastradh):

 The same technique -- say, a `VALIDATE_DIST_BASE` macro -- would work for
 `DIST_BASE_TYPED`.  I didn't do that because I was thinking about
 probability distributions, not Coverity; it would be entirely reasonable
 to copy the mechanism.

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


More information about the tor-bugs mailing list