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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs