[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #29805 [Core Tor/Tor]: 41 coverity defects on prob_distr.c
#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:
---------------------------------+------------------------------------
Changes (by catalyst):
* cc: catalyst (added)
Comment:
Replying to [ticket:29805 asn]:
> The `DIST_BASE_TYPED` macro in `prob_distr.h` is causing us 41 new
coverity defects. I don't think it's wrong but it's quite hacky so we
should fix it in some way.
It also seems dubious to me and I would need to dig to decide whether I
think it's undefined behavior.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29805#comment:1>
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