[tor-bugs] #2190 [Tor Client]: Possible reentrant calls to libevent from libevent logging callback

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Dec 11 11:15:13 UTC 2010


#2190: Possible reentrant calls to libevent from libevent logging callback
------------------------+---------------------------------------------------
 Reporter:  nickm       |       Owner:  rransom           
     Type:  defect      |      Status:  needs_review      
 Priority:  normal      |   Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |     Version:                    
 Keywords:              |      Parent:                    
------------------------+---------------------------------------------------

Comment(by cypherpunks):

 Replying to [comment:8 cypherpunks]:
 > Replying to [comment:7 rransom]:
 > > The call to `lf->callback` can change `pending_cb_messages`.
 >
 > No, it's can't.

 It was wrong statement. Yes, it can.
 Calling of lf->callback can to append a new members of
 pending_cb_messages.

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


More information about the tor-bugs mailing list