[tor-bugs] #29662 [Core Tor/Tor]: Introduce assert functions that allow us to printf error message

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Mar 26 17:25:36 UTC 2019


#29662: Introduce assert functions that allow us to printf error message
------------------------------------------------+--------------------------
 Reporter:  rl1987                              |          Owner:  rl1987
     Type:  enhancement                         |         Status:
                                                |  needs_revision
 Priority:  Medium                              |      Milestone:  Tor:
                                                |  0.4.1.x-final
Component:  Core Tor/Tor                        |        Version:
 Severity:  Normal                              |     Resolution:
 Keywords:  asn-merge, nickm-merge, teor-merge  |  Actual Points:
Parent ID:                                      |         Points:
 Reviewer:  ahf                                 |        Sponsor:
------------------------------------------------+--------------------------
Changes (by nickm):

 * status:  merge_ready => needs_revision


Comment:

 Can the "Non-fatal assertion %s failed" lines be reached with `extra ==
 NULL`?  I think it can, and I think that's a bug.

 Shouldn't the tor_assertion_failed_ and tor_bug_occurred_ functions have
 CHECK_PRINTF annotations now?

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


More information about the tor-bugs mailing list