[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs