[tor-bugs] #2324 [Tor Client]: realloc should check SIZE_T_CEILING too?

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Jan 15 17:02:06 UTC 2011


#2324: realloc should check SIZE_T_CEILING too?
-------------------------+--------------------------------------------------
  Reporter:  arma        |       Owner:                    
      Type:  defect      |      Status:  needs_review      
  Priority:  major       |   Milestone:  Tor: 0.2.1.x-final
 Component:  Tor Client  |     Version:  Tor: 0.2.1.26     
Resolution:              |    Keywords:                    
    Parent:              |  
-------------------------+--------------------------------------------------

Comment(by arma):

 Wordo:
 {{{
 +          log_warn(LD_GENERAL, "Input looks look a possible zlib bomb; "
 }}}

 re sebastian's comment, I'm ok leaving the warns at warns rather than
 protocol_warn: if this starts happening consistently, we'll want to know
 about it asap. If it happens rarely, so be it.

 Other than that, looks great, merge when you like.

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


More information about the tor-bugs mailing list