[tor-bugs] #13635 [Tor]: Time to retire SIZE_T_CEILING?

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Nov 3 04:06:49 UTC 2014


#13635: Time to retire SIZE_T_CEILING?
------------------------+--------------------------------
     Reporter:  nickm   |      Owner:
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  Tor: 0.2.6.x-final
    Component:  Tor     |    Version:
   Resolution:          |   Keywords:
Actual Points:          |  Parent ID:
       Points:          |
------------------------+--------------------------------

Comment (by cypherpunks):

 > On the other hand, if malloc _would_ give you that much memory, then who
 are we to argue with it?

 What part of code will to request and will to fill so much of memory at
 once? It's bug if code tries to decode stuff or to read so much bytes from
 file at once. Those asserts never shoots to sane code.

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


More information about the tor-bugs mailing list