[tor-bugs] #15188 [Tor]: Fix side-effect in tor_assert expr

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Mar 8 18:26:44 UTC 2015


#15188: Fix side-effect in tor_assert expr
--------------------+------------------------------------
 Reporter:  TvdW    |          Owner:
     Type:  defect  |         Status:  new
 Priority:  normal  |      Milestone:
Component:  Tor     |        Version:  Tor: 0.2.6.3-alpha
 Keywords:          |  Actual Points:
Parent ID:          |         Points:
--------------------+------------------------------------
 In testing_common.c there's a call to tor_assert() that contains an
 expression with a side-effect. We should probably split those up.

 Potential patch:
 https://github.com/TvdW/tor/commit/6e4f7704198d2b7332e6ec388e8c2ffbe51384b7

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


More information about the tor-bugs mailing list