[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #30342 [Core Tor/Tor]: 9 dephects on prob_distr.c (April 2019)



#30342: 9 dephects on prob_distr.c (April 2019)
---------------------------------+------------------------------------
 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:  0.4
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------------

Comment (by catalyst):

 in src/lib/math/prob_distr.h:
 {{{
      53  *  We define this conditionally to suppress false positives from
      54  *  Coverity, which gets confused by the sizeof business.
      55  */
      56 #ifdef __COVERITY___
      57 #define TYPE_CHECK_OBJ(OPS, OBJ, TYPE) 0
 }}}
 There seems to be an extra underscore at the end of `__COVERITY___`. I
 think all other occurrences end with two underscores, not three.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30342#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs