[tor-bugs] #22824 [Core Tor/Tor]: Establish guidelines for using assertions

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jul 5 17:19:30 UTC 2017


#22824: Establish guidelines for using assertions
--------------------------------------------+------------------------------
 Reporter:  catalyst                        |          Owner:  catalyst
     Type:  task                            |         Status:  new
 Priority:  Medium                          |      Milestone:  Tor:
                                            |  0.3.2.x-final
Component:  Core Tor/Tor                    |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tor-doc, technical-debt, style  |  Actual Points:
Parent ID:                                  |         Points:
 Reviewer:                                  |        Sponsor:
--------------------------------------------+------------------------------

Comment (by nickm):

 My draft guidelines would be something like "Only use assertions for bugs,
 never for bad inputs from outside Tor. Always use the least-fatal
 assertion that makes any sense."

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


More information about the tor-bugs mailing list