[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:52:05 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):

 Replying to [comment:4 nickm]:
 > Got a stack trace there?  (bt full, ideally)

 Nobody will have any stack traces until #5075 gets merged.

 > Also, how would you get an underflow there?  If size is negative, then
 the size > sl->capacity check should be false, unless sl->capacity is (ug)
 negative too.
 >
 > And come to think of it, size is an int.  If MAX_CAPACITY is INT_MAX,
 how can size <= MAX_CAPACITY ever be false?

 A fine question.

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


More information about the tor-bugs mailing list