[tor-bugs] #13478 [Tor]: Semantic changes to tor_calloc

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Oct 19 19:37:30 UTC 2014


#13478: Semantic changes to tor_calloc
-------------------------+----------------------------------
 Reporter:  cypherpunks  |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  minor        |      Milestone:  Tor: unspecified
Component:  Tor          |        Version:
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
-------------------------+----------------------------------
 Hi,

 I noticed the improvements to tor_malloc_zero with tor_calloc, and I added
 a bit to that.

 The tor_calloc function overflow check is a bit faster; the semantic patch
 changes the argument order to be like calloc; and some other small
 details.

 The branch is "calloc" at:
 https://bitbucket.org/eliteraspberries/tor/branch/calloc

 Everything seems to work fine on the stable release.

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


More information about the tor-bugs mailing list