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

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