[tor-bugs] #5074 [Obfsproxy]: obfsproxy assertion failure src/container.c:66: size <= MAX_CAPACITY

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 10 16:27:53 UTC 2012


#5074: obfsproxy assertion failure src/container.c:66: size <= MAX_CAPACITY
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:  asn
     Type:  defect     |         Status:  new
 Priority:  normal     |      Milestone:     
Component:  Obfsproxy  |        Version:     
 Keywords:             |         Parent:     
   Points:             |   Actualpoints:     
-----------------------+----------------------------------------------------

Comment(by arma):

 In my case sizeof size_t is 8, and sizeof int is 4, so
 {{{
 #define MAX_CAPACITY (INT_MAX)
 }}}
 Not that it should matter how big MAX_CAPACITY is. Seems like this was an
 underflow.

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


More information about the tor-bugs mailing list