[tor-bugs] #5072 [Obfsproxy]: obfsproxy assertion failure src/network.c:726: down->buffer == bev

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 10 21:19:26 UTC 2012


#5072: obfsproxy assertion failure src/network.c:726: down->buffer == bev
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  major      |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by asn):

 I wonder how:
 {{{
 if (down->buffer != bev) {
     conn_free(down);
     return;
 }
 }}}
 in the top of `downstream_read_cb()`, would act as an anti-crash temporary
 workaround.

 `conn_free(down);` might make it too much undefined behavior, maybe just
 returning and suffering the memory leak could also work.

 Messy, but it might do it for the weekend.

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


More information about the tor-bugs mailing list